Python If Else Example

WAP to determine whether a person is eligible to vote.

#WAP to determine whether a person is eligible to vote.

age=int(input('Please enter your age'))
if age>=18:
    print('Congratulations! Your are eligible for vote')
else:
    print('Ooops! Your are not eligible for vote')
    

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top