Simplify Python Code

print_with_tab / print_with_whitespace is trivial with Python
string formatting and was mostly used in only 2 lines.
This commit is contained in:
Martin Thoma
2022-04-02 07:32:09 +02:00
parent 354c1f9ab3
commit c500424956
47 changed files with 208 additions and 387 deletions

View File

@@ -80,7 +80,7 @@ def main() -> None:
player_has_won = False
while (guess_number < MAX_GUESSES) and not player_has_won:
print("")
print()
guess = get_guess()
guess_number += 1