Tuesday, November 17, 2020

CHP5

 a = 8

# 2. Multiple if statements
if(a>3): 
    print("MAFIA")

if(a>13):
    print("GTA")
    
if(a>7):
    print("WATCH DOGS 2 ")

if(a>17):
    print("The value of a is greater than 17")
else:
    print("The value is not greater than 3 or 7")

print("Done")

No comments:

Post a Comment