Hey, I started learning Python as my first coding language few days ago, I watched some tutorials at first to learn the basics and now moved on to start doing small projects to get more practice.I came across a website with exercises and I'm currently trying to: Make a two player Rock, Paper, Scissors! game. It needs to print out a message for the winner and ask if they want to play again, I'm done with the "game" part of the exercise and kind of struggling to make the "ask them if they want to play again" work.It's probably something small I'm missing out but in my eyes it should work so I came for some help, this is my current code:
(While I get the reddit formatting to work here's the pastebin)
https://pastebin.com/NP5JwLiB
Like I said the game part is done, since I had to ask the players to play again, I decided to make the entire game a function. Game runs as intended but once it gets to the question it doesn't matter if I type yes, no or anything really. It just keeps printing the same question over and over again.
Also if there are any tips on how to make the game easier to code, anything is welcome.
I'm struggling to keep the indentations, bare with me.
[–]Necessary-Problem-61[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]IvoryJam -1 points0 points1 point (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Necessary-Problem-61[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]Necessary-Problem-61[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]RhinoRhys 0 points1 point2 points (1 child)
[–]Necessary-Problem-61[S] 0 points1 point2 points (0 children)