30
loading...
This website collects cookies to deliver better user experience
if condition:
code()
age=12
if age<21:
print("you are under age")
if condition:
code()
else:
code()
Age =11
if age<21:
print("you are under age")
else:
print("you are an youngster")
if condition0:
code()
elif condition1:
code()
elif condition2:
code(2)
else:
code()
num=1,num=-23,num=0
if num > 0:
print("Positive number")
elif num == 0:
print("Zero")
else:
print("Negative number")
if (condition1):
code()
if (condition2):
code()
a= 1001
if a> 100:
print("Above 100")
if a > 1000:
print("and also above 1000")
if(condition):
if code
if(condition):
if code
else:
else code
else:
else code
a=1456
if a> 100:
print("Above 100")
if a > 1000:
print("and also above 1000")
else:
print("and also below 1000")
else:
print("below 100")