2nd Sep 2019, 8:20 PM
Luke
Luke - avatar
4 odpowiedzi
+ 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
3rd Sep 2019, 12:44 AM
Ian Xavier Vigilante
Ian Xavier Vigilante - avatar
+ 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?
5th Sep 2019, 4:59 PM
Luke
Luke - avatar