mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-06 18:14:27 -08:00
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:
@@ -300,7 +300,7 @@ class Qubit:
|
||||
print("\n")
|
||||
|
||||
def humanMove(self, board):
|
||||
print("")
|
||||
print()
|
||||
c = "1234"
|
||||
while True:
|
||||
h = input("Your move?\n")
|
||||
|
||||
Reference in New Issue
Block a user