Cant figure out my issue with restarting game, after it has ended!
With the following code block (hopefully it sent, im quite new and cant seem to figure out how to post my code) every time i type "n" it will run the print("Bye!") but if i type anything other then n it wont play game()
play_again = input("Do you want to play again? Y/n: ") if play_again.lower() != 'n': game() else: print("Bye!")
Maybe "if play_again.lower()" should be starting right under "play_again = …"
Under the same column.
Jonathan probably because you are not changing the input to a lower case - .lower()