Age aplicable for driving - python program

 #aplicable age for driving

age=int(input("Enter your age: "))

if age<18 and age>7:
    print("You are not able to driving")

elif age>18 and age<=100:
    print("you are able to driving")

elif age==18:
    print('''we don't decide it you drive. You come to take physical test and then according to your test we decide
          you drive or not''')

else:
    print("Invailed age!!")


Comments

Popular posts from this blog

Become Healthy Goal - Python Program

Calculator in C++

Interpretation vs Compilation