Skip to content

Commit b1585ba

Browse files
committed
Remove unused variable
1 parent 5b89735 commit b1585ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

65_Nim/python/Traditional_NIM.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ def main() -> None:
7878

7979
# Start game loop
8080
input("\nPress Enter to start the Game:\n")
81-
_end = False
81+
8282
while True:
8383
game.print_pegs()
8484

8585
# Players Move
8686
command = input("\nYOUR MOVE - Number of PILE, Number of Object? ")
8787
game.remove_pegs(command)
88-
if _end := game.check_for_win():
88+
if game.check_for_win():
8989
print("\nPlayer Wins the Game, Congratulations!!")
9090
input("\nPress any key to exit")
9191
break

0 commit comments

Comments
 (0)