If statement is within another if statement then this is called nested of control statements.
Example
num = -100
if num > 0:
print("Positive Number")
else:
print("Negative Number")
#nested if
if -100<=num:
print("Three digit Negative Number")
Output:
Negative Number
Three digit Negative Number
Nested If else program video:
Comments