age=int(input("enter the age:"))
if(age>=18):
    print("you are edigble to vote")
else:
    yrs=18-age
    print("you have to wait for another"+str(yrs)+"years to cast your vote")
    

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: