Saturday, 12 November 2016

If Statement in Python

print("Enter your age")
age=int(raw_input())
if age>18:
    print("\nEligible for vote")

else:
    print("\nNot Eligible for vote")