#conditional statement
a = int(input("Enter age: "))
if 18<a<=100:
print("you are eligible for driving")
print("you can take a test to take your licence")
elif a==18:
print("we cant decide your licence")
print("please come to office to get your test")
elif a>100:
print("sorry your age is to high for the icence")
else:
print("sorry you are not eligible for the test")
print("after the age of 18 you can apply for the test")
Comments
Post a Comment