Computer Science, asked by dholyamanya, 4 months ago

13. Write a python program to check whether the user is eligible to vote or not​

Answers

Answered by darksoul3
3

# 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.")

Answered by piyushkasana515
1

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.")

thank u

Similar questions