diff options
-rw-r--r-- | kasus.py | 4 | ||||
-rw-r--r-- | solver.py | 1 |
2 files changed, 1 insertions, 4 deletions
@@ -24,9 +24,7 @@ while True: if solution.evaluate(response): correct += 1 - print(f"{Fore.GREEN}Richtig ({correct}/{total})") + print(f"{Fore.GREEN}Richtig ({correct}/{total}):{Style.RESET_ALL} {solution.noun}") else: print(f"{Fore.RED}Falsch ({correct}/{total}):{Style.RESET_ALL} {solution.full}, {solution.noun}") - print(f"{Style.RESET_ALL}") - @@ -37,7 +37,6 @@ def get(): solution = solve(query) return (query, solution) except Exception as e: - print(e) continue raise Exception("Could not find query after 10 attempts!") |