feature/exit: přidáno elif do evaluate()

This commit is contained in:
2026-06-26 19:59:05 +02:00
parent 73e8747b73
commit 2fa0aa8a95
+3
View File
@@ -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