#31 Python Tutorial | Nested If Else Statement in Python (HINDI)

Опубликовано: 29 Декабрь 2018
на канале: AspOracle
206
4

In this tutorial you will learn about Nested if else .We will do it practically in detail How we can use Nested if else practically .

Nested If else Statements :

Once you are feeling comfortable with the if, elif, and else

statements, you can move on to nested conditional statements.

We can use nested if statements for situations where we want to

check for a secondary condition if the first condition executes as

true.

For this, we can have an if-else statement inside of another if-

else statement.

Let’s look at the syntax of a nested if statement:

if expression :
code to execute if expression is true
if expression :
code to execute Nested if expression is true
elif expression:
code to execute Nested else if expression is true
else:
code to execute Nested if and else if expression is false
elif expression:
code to execute else if expression is true
if expression :
code to execute Nested if expression is true
elif expression:
code to execute Nested else if expression is true
else:
code to execute Nested if and else if expression is false
else:
code to execute if and else if expression is false
if expression :
code to execute Nested if expression is true
elif expression:
code to execute Nested else if expression is true
else:
code to execute Nested if and else if expression is false

Full Playlist Link of Python Tutorial In Hindi :   • Python Tutorial in Hindi  

Here is the list of vedios In the Playlist:

35 Nested For Loop in Python (HINDI) :    • #35 Python Tutorial | Nested For Loop...  

34 For Loop in Python(HINDI) :    • #34 Python Tutorial |  For Loop in Py...  

33 Python Exercises Solution of If Else and InBuilt Functions (HINDI) :   • #33 Python Tutorial | Python Exercise...  

32 If Else Exercises In python(HINDI) :    • #32  Python Tutorial | If Else Exerci...  

31 Nested If Else Statement in Python (HINDI) :    • #31 Python Tutorial | Nested If Else ...  

30 Else If in python (HINDI) :    • #30 Python Tutorial | Else If in pyth...  

29 If else statement in python (HINDI) :    • #29 Python Tutorial | If else stateme...  


28 Boolean in Python (HINDI) :    • #28 Python Tutorial |  Boolean in Pyt...  

27 Inbuilt functions in python (HINDI) :    • #27 Python Tutorial | Inbuilt functio...  

26 Strip Method in Python (HINDI) :    • #26 Python Tutorial | Strip Method in...  

25 String Indexing and Step Argument Exercise Solution (HINDI) :    • #25 Python Tutorial | String Indexing...  

24 Python Exercises For Beginners (HINDI) :    • #24 Python Tutorial | Python Exercise...  

23 String Slicing in Python (HINDI) :    • #23 Python Tutorial | String Slicing ...  

22 String Indexing Python (HINDI) :    • #22 Python Tutorial |  String Indexin...  

21 Python Exercise Solution (HINDI) :    • #21 Python Tutorial | Python Exercise...  

20 Python Exercises for Beginners (HINDI) :    • #20 Python Tutorial | Python Exercise...  

19 String Formatting In Python (HINDI) :    • #19 Python Tutorial |String Formattin...  

18 Int Function in Python (HINDI) :    • #18 Python Tutorial | Int Function in...  

17 More Than One Input Python (HINDI) :    • #17 Python Tutorial | More Than One I...  

16 User Input in Python (HINDI) :    • #16 Python Tutorial | User Input in P...  

15 Concatenation in Python (HINDI) :    • #15  Python Tutorial | Concatenation ...  

14 Variables in Python (HINDI) :    • #14 Python Tutorial | Variables in Py...  

13 Python Tutorials For Beginners | Calculator Solution (HINDI) :    • #13 Python Tutorial | Python Tutorial...  

12 Python Exercises For Beginners | Calculator Exercise (HINDI) :    • #12 Python Tutorial | Python Exercise...  

11 Precedence Rule In Python (HINDI) :    • #11 Python Tutorial  | Precedence Rul...  

10 Python Tutorials For Beginners | Calculator in Python(HINDI) :    • #10 Python Tutorial | Python Tutorial...  

9 Python Tutorials For Beginners | Raw String in Python (HINDI) :    • #9 Python Tutorial | Python Tutorials...  

8 Python Not Working In VScode (HINDI) :    • #8 Python Not Working In VScode | Int...  

7 Python Tutorials For Beginners | Escape Sequence Solution (HINDI) :    • #7  Python Tutorial | Python Tutorial...  

6 Python Tutorials For Beginners | Escape Sequence Exercise (HINDI) :    • #6 Python Tutorial | Python Tutorials...  

5 Python Tutorials For Beginners | Python Escape Sequences (HINDI) :    • #5 Python Tutorial | Python Tutorials...  

4 Python Exercises for Beginners | Print Exercise Solution (HINDI) :    • #4 Python Tutorial | Python Exercises...  

3 Python Exercises For Beginners | Print Exercise (HINDI) :    • #3 Python Tutorial | Python Exercises...  

2 String Manipulation in Python | Print Function (HINDI) :    • #2 Python Tutorial | String Manipulat...  

1 Integrate GIT Bash with Visual Studio Code (HINDI) :    • #1 Python Tutorial | Integrate GIT Ba...  

-----------------------------------------------------------------------------

Reach Out my Blog : www.asporacle.com

Our Social Links-

Youtube -    / shalinipublicity  
Facebook-   / asporacle  
Twitter-   / pgurugoswami  


Email - [email protected]


#asporacle
#learnpython
#python2019

Your host
Prashant goswami
Senior software programmer
( vb , c# , asp.net , Python )