csc-python-solutions/06/4 - Age Checker.py

8 lines
146 B
Python
Raw Normal View History

2021-02-18 18:34:58 +00:00
age = int(input())
if age >= 18:
print("You can vote")
elif age >= 0:
print("Too young to vote")
else:
print("You are a time traveller")