Sunday, July 14, 2019

WAP to input the age of a person and check that he/she is eligible for license for not.

age = int(input("Enter Age = "))
print('-'*10)
if (age >=18):
print("he/she is eligible")
else:
print("he/she is not eligible")

No comments:

Post a Comment