Update benstypcursus.py
This commit is contained in:
+2
-2
@@ -97,8 +97,8 @@ def curses_engine(stdscr, items, mode="woorden"):
|
|||||||
accuracy = round((correct_chars / total_chars) * 100, 2) if total_chars else 0
|
accuracy = round((correct_chars / total_chars) * 100, 2) if total_chars else 0
|
||||||
|
|
||||||
stdscr.addstr(2, 0, f"modus: {mode}")
|
stdscr.addstr(2, 0, f"modus: {mode}")
|
||||||
stdscr.addstr(3, 0, f"correct chars: {correct_chars}")
|
stdscr.addstr(3, 0, f"correcte letters: {correct_chars}")
|
||||||
stdscr.addstr(4, 0, f"total chars: {total_chars}")
|
stdscr.addstr(4, 0, f"totalale letters: {total_chars}")
|
||||||
stdscr.addstr(5, 0, f"accuracy (first try): {accuracy}%")
|
stdscr.addstr(5, 0, f"accuracy (first try): {accuracy}%")
|
||||||
stdscr.addstr(6, 0, f"tijd: {total_time}s")
|
stdscr.addstr(6, 0, f"tijd: {total_time}s")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user