0
If...else statement
age = input ("Enter your age" ) if age ›= 18: print " Eligible to vote" else: print " Not eligible to vote "
3 Antworten
+ 6
If you don't want to reply your question, we can not help you.
+ 1
What's your question.
+ 1
age = int (input ("Enter your age"))
if age >= 18:
print (" Eligible to vote")
else:
print (" Not eligible to vote ")