Write a python program to determine whether a person is eligible to vote.
PROGRAM:
age=int(input("Enter your age:"))
if (age>=18):
print("You are eligible to vote.")
else:
print("Sorry! You are not eligible to vote.")
OUTPUT:
Copyright â’¸ 2022 | Mechpedia | All Right Reserved.
No comments:
Post a Comment