Using break and continue statements in python

Using break and continue statements in python The break and continue statements in Python programming are the control flow statements in the program. They help the Python programmer to control the behavior of the program loop (for and while loop) based on some specific conditions like break and continue. So let’s see how break and…

Comments Off on Using break and continue statements in python

Loops (for, while) in python

Loops (for, while) in python Loops in Python programming are typically used to repeat a program code logic statement or execute it a finite or unlimited number of times. Generally, for loop and while loop are used in Python programs to repeat a particular block of program code a certain number of times. For loop…

Comments Off on Loops (for, while) in python

Conditional statements (if, elif, else) in python

Conditional statements (if, elif, else) in python In conditional statements in Python programming, you can execute different blocks of program code based on testing some Python program based single or multiple conditions as true or false using conditional program logic (if, elif, and else). While the if statement checks a single program condition as true…

Comments Off on Conditional statements (if, elif, else) in python

Using break and continue statements python In Hindi

Using break and continue statements python In Hindi पाइथन प्रोग्रामिंग में ब्रेक और कंटिन्यू स्टेटमेंट प्रोग्राम में कंट्रोल फ्लो स्टेटमेंट होते हैं. जो पाइथन प्रोग्रामर को कुछ स्पेसिफिक कंडीशंस के आधार पर प्रोग्राम लूप (फॉर और व्हाइल लूप) के व्यवहार को कण्ट्रोल जैसे ब्रेक और कंटिन्यू करने में सहायता प्रदान करते हैं। So let’s see…

Comments Off on Using break and continue statements python In Hindi

Loops for while In python Hindi

Loops for while In python Hindi पायथन प्रोग्रामिंग में लूप का उपयोग विशेष रूप से किसी प्रोग्राम कोड लॉजिक स्टेटमेंट को रिपीट करने या एक सिमित या असीमित नंबर तक एक्सेक्यूट करने में होता है. सामान्य तोर पर पाइथन प्रोग्राम में फ़ॉर लूप और व्हाइल लूप, को प्रोग्राम कोड के एक विशेष ब्लॉक को कई…

Comments Off on Loops for while In python Hindi

Conditional statements (if, elif, else) python In Hindi

Conditional statements (if, elif, else) In Hindi पायथन प्रोग्रामिंग में कंडीशनल स्टेटमेंट्स में आप (if, elif, और else ) कंडीशनल प्रोग्राम लॉजिक का उपयोग करके कुछ पाइथन प्रोग्राम बेस्ड सिंगल या मल्टीप्ल कंडीशन को ट्रू या फाल्स टेस्टिंग के आधार पर प्रोग्राम कोड के विभिन्न ब्लॉक को एक्सेक्यूट कर सकते हैं। जहा इफ स्टेटमेंट सिंगल…

Comments Off on Conditional statements (if, elif, else) python In Hindi

Operators (arithmetic, comparison, logical) in python

Operators (arithmetic, comparison, logical) in python Operators are some special symbols or reserved keywords in Python programming language. Python operators are used to perform programming operations on program variables and variable values. Python program operators can be divided into many types. Some of the popular operators include arithmetic operators, comparison (relational) operators, logical operators, assignment…

Comments Off on Operators (arithmetic, comparison, logical) in python

Variables and data types (integers floats strings booleans) in python

Variables and data types (integers, floats, strings, booleans) Variables in Python programming, like other programming languages, are a symbolic program data storage container that stores the relevant program variable values ​​in the computer's secondary memory. Program variables declared in Python allow the programmer to store various variable values ​​declared in the program and manipulate data…

Comments Off on Variables and data types (integers floats strings booleans) in python

Print statement and input from user

Print statement and input from user If you want to see the result of declaring variable values ​​in Python program and take input values ​​directly from user in the program. Then here is a simple Python program which shows the example of printing a Python program statement by programmer and taking input from programmer/user in…

Comments Off on Print statement and input from user

Print statement and input from user In Hindi

Print statement and input from user In Hindi यदि आप पाइथन प्रोग्राम में डिक्लेअर वेरिएबल वैल्यूज के रिजल्ट और डायरेक्ट यूजर से प्रोग्राम में इनपुट वैल्यूज लेना चाहे। तो यहाँ एक सरल पायथन प्रोग्राम दिया गया है. जो प्रोग्रामर द्वारा एक पाइथन प्रोग्राम स्टेटमेंट को प्रिंट करने और प्रोग्रामर/यूजर से पाइथन प्रोग्राम में इनपुट लेने…

Comments Off on Print statement and input from user In Hindi