diff --git a/main.py b/main.py index 10bd7a1..84e7913 100644 --- a/main.py +++ b/main.py @@ -101,7 +101,7 @@ def evaluate(inp: Any, count: int, throw: str) -> tuple: new_count = len(old_throw) - if eval_score(pick) == False: + if not eval_score(pick): new_count = count old_throw = throw else: @@ -195,9 +195,6 @@ def game(data: tuple): " - Hodit znovu: [h].\n" f" - Ukončit hod a ponechat si skóre z tohoto hodu ({score}): [k].\n" ) - print(f"Count je {count}") - # if old_throw != "": - # msg += f"\nHodnoty odložených kostek: {old_throw}" inp = input(msg) data = evaluate(inp, count, th) game(data)