From 34d5994691fa061411a214937f54e77885c23c97 Mon Sep 17 00:00:00 2001 From: Lukas Baumann Date: Thu, 18 Feb 2021 19:34:58 +0100 Subject: [PATCH] Create 4 - Age Checker.py --- 06/4 - Age Checker.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 06/4 - Age Checker.py diff --git a/06/4 - Age Checker.py b/06/4 - Age Checker.py new file mode 100644 index 0000000..d2f1c76 --- /dev/null +++ b/06/4 - Age Checker.py @@ -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")