From 2fa0aa8a950a66e71c2ecdf450ebc277e85c7ceb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sp=C3=A1=C4=8Dil?= Date: Fri, 26 Jun 2026 19:59:05 +0200 Subject: [PATCH] =?UTF-8?q?feature/exit:=20p=C5=99id=C3=A1no=20elif=20do?= =?UTF-8?q?=20evaluate()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.py b/main.py index 8e210ba..0e32b2e 100644 --- a/main.py +++ b/main.py @@ -133,6 +133,9 @@ def evaluate(inp: Any, count: int, throw: str) -> tuple: if winner: data = ("win", winner, aggr[winner]) return data + elif inp == "exit": + data = ("exit",) + return data else: data = ("msg", "ER03", "Zadejte prosím platnou hodnotu:", count, throw) return data