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:Enter your age: 18You are eligible to vote.
No comments:
Post a Comment