From 4f8238b2ce25266771e81f1274ed6de07954d8ce Mon Sep 17 00:00:00 2001 From: Zeheng Li Date: Thu, 28 Nov 2024 06:19:59 -0700 Subject: [PATCH] add examples --- src/desiigner.py | 10 ++++++++++ src/heimilisverk.py | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 src/desiigner.py create mode 100644 src/heimilisverk.py diff --git a/src/desiigner.py b/src/desiigner.py new file mode 100644 index 0000000..eb69890 --- /dev/null +++ b/src/desiigner.py @@ -0,0 +1,10 @@ +s = input() +if ( + s.startswith("b") + and s[-1] in "aeiouy" + and set(s[1:-1]) == {"r"} + and len(s[1:-1]) >= 2 +): + print("Jebb") +else: + print("Neibb") diff --git a/src/heimilisverk.py b/src/heimilisverk.py new file mode 100644 index 0000000..d5021ba --- /dev/null +++ b/src/heimilisverk.py @@ -0,0 +1,7 @@ +n = int(input()) +l = {} +for _ in range(n): + s = input() + if s not in l: + print(s) + l[s] = True