Skip to content

Commit

Permalink
add examples
Browse files Browse the repository at this point in the history
  • Loading branch information
zehengl committed Nov 28, 2024
1 parent 44998c3 commit 4f8238b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/desiigner.py
Original file line number Diff line number Diff line change
@@ -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")
7 changes: 7 additions & 0 deletions src/heimilisverk.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
n = int(input())
l = {}
for _ in range(n):
s = input()
if s not in l:
print(s)
l[s] = True

0 comments on commit 4f8238b

Please sign in to comment.