Write a Python function to check whether a person is eligible for voting or not based on their age


Topic: Write a Python function to check whether a person is eligible for voting or not based on their age

Solution

def vote_eligibility(age):
	if age>=18:
	    status="Eligible"
	else:
	    status="Not Eligible"
	return status



List all Python Programs