diff options
author | Eddy Pedroni <eddy@0xf7.com> | 2022-10-18 21:11:27 +0200 |
---|---|---|
committer | Eddy Pedroni <eddy@0xf7.com> | 2022-10-18 21:11:27 +0200 |
commit | 43c615646ab31626e4f8b8fa074a669195b4306a (patch) | |
tree | c71abe81c2c51d97411cc935ef3d934ca5a16904 /kasus.py | |
parent | 7bc31c0d156feb0cf07949a439b6d29fb07d6b45 (diff) |
Added noun information also when answer is correct, removed debug print
Diffstat (limited to 'kasus.py')
-rw-r--r-- | kasus.py | 4 |
1 files changed, 1 insertions, 3 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}") - |