+ 2
Can someone help me with this?
4 ответов
+ 1
Hi Luke, first of all you are making a recursive function and I don’t think that’s the best approach.
I tried to leave your code as you made it with just a few changes.
As I said before, this may not be the best approach
https://code.sololearn.com/WuJUJ3VtYQ81/?ref=app
+ 1
I have it working to count the wrong number of attempts, but how do I get it to repeat the prompt if a user presses cancel or hits the red x?