csc-python-solutions/06/4 - Age Checker.py
2021-02-18 19:34:58 +01:00

8 lines
146 B
Python

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")