Ch 20 else statement
#The else command run if user under the age
#If user input 15 and more the if statement will work in the function
age=input("enter your age")
age=int(age)
if age>14:
print("you can play this game")
else:
print("you can not play this game")
Comments
Post a Comment