Python if-elif-else Statement

if-elif-else statement
Multiple Conditions in the Program.
Ex:

# Example – if-elif-else statement

age = int(input(“Enter Your age: “))

if age =13 and age =19 and age =60 and age <=100:
print("Senior Citizen")

else:
print("Guess")

Win Corporate Training
website: http://www.wincorptrg.com
View My Profile

Advertisements