Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
zehengl committed Dec 9, 2024
1 parent bd76490 commit bee3462
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/pobudget.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
n = int(input())
b = 0
for _ in range(n):
input()
b += int(input())
if b == 0:
print("Lagom")
elif b > 0:
print("Usch, vinst")
else:
print("Nekad")

0 comments on commit bee3462

Please sign in to comment.