Wap to print major or minor given age of a person
Answers
Answered by
1
# 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").
Similar questions
Social Sciences,
4 months ago
India Languages,
4 months ago
English,
8 months ago
Math,
8 months ago
English,
1 year ago
English,
1 year ago