Python | Input age and check eligibility for voting
Program:
# input age age = int(input("Enter Age : ")) # condition to check voting eligibility if age>=18: status="Eligible" else: status="Not Eligible" print("You are ",status," for Vote.")
Output
Enter Age : 19 You are Eligible for Vote.
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Program:
Output