Professional Documents
Culture Documents
3.condition Statement
3.condition Statement
3.condition Statement
i) if else
Output
Give the a value :10
Give the b value :20
b is big
Output
Give any character :a
a is a vowel
iii) Nested if
print("a is big")
else:
print("c is big")
if(b >a):
print("b is big")
else:
print("a is big")
elif(c> a):
if(c>b):
print("c is big")
else:
print("b is big")
else:
Output
Give the a value :10
c is big