From 7f9e3e9ef7e6ba47c24b1427d3d36bbefb4f5e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sp=C3=A1=C4=8Dil?= Date: Thu, 25 Jun 2026 13:46:38 +0200 Subject: [PATCH] =?UTF-8?q?fix/loop:=20drobn=C3=A9=20opravy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index dcb2bba..ffefad1 100644 --- a/main.py +++ b/main.py @@ -148,7 +148,7 @@ def check_value(throw: str) -> bool: return hodnota -def add_players(iter=False): +def add_players(): global pointer, first, final_score while True: @@ -182,7 +182,7 @@ def add_players(iter=False): try: inp = int(inp) final_score = inp - except ValueError as e: + except ValueError: print("Zadejte prosím platnou číselnou hodnotu.") else: break