Create 4 - Age Checker.py

This commit is contained in:
Lukas Baumann 2021-02-18 19:34:58 +01:00 committed by GitHub
parent 7b319100d1
commit 34d5994691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
06/4 - Age Checker.py Normal file
View File

@ -0,0 +1,7 @@
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")