Python - Conditional Statements
Find the error in this nested conditional code:
num = 5
if num > 0:
if num < 10:
print('Number is between 1 and 9')num = 5
if num > 0:
if num < 10:
print('Number is between 1 and 9')15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions