Write a program in Python, which takes the age from the user as input, checks whether the age is greater than 18 or not and accordingly prints a message if the user is eligible to vote or not.
Answers
Answered by
2
Answer:
# 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.")
plz mark me as brainlist
Similar questions