From bee34623238d26f73e9d3bd346e4a701809d6359 Mon Sep 17 00:00:00 2001 From: Zeheng Li Date: Mon, 9 Dec 2024 03:58:23 -0700 Subject: [PATCH] add example --- src/pobudget.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/pobudget.py diff --git a/src/pobudget.py b/src/pobudget.py new file mode 100644 index 0000000..8e58d13 --- /dev/null +++ b/src/pobudget.py @@ -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")