Exp 2 python

0

 Create a program that prompts user for their age and tell them if they can vote in python 



age = int(input("How old are you? "))


if age >= 18:

    print("Congratulations! You are eligible to vote.")

else:

    print("Sorry, you are not eligible to vote yet.")

Post a Comment

0Comments

GUYS IF YOU HAVE ANY DOUBT. PLEASE LET ME KNOW

Post a Comment (0)