write a program to check whether the entered age of a person is > = 18 display a message "you are eligible to vote", otherwise display a message "you are not eligible to vote"
Answers
Answered by
4
# 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.")
avishchoudhary8830:
oh python me likhna tha...
Similar questions