+ 2

How can i make this program to continue to loop upon a user request to continue the Quiz?

https://code.sololearn.com/cVyg609uO4du/?ref=app

10th Apr 2020, 4:20 PM
Mujeeb Adeyanju Sunmola
Mujeeb Adeyanju Sunmola - avatar
4 Respuestas
+ 6
You can use a while loop to run your code. At the end of your code place a question to the user if he wants to continue or to quit the app.
10th Apr 2020, 4:29 PM
Lothar
Lothar - avatar
+ 4
Lothar I've tried your suggestion. I don't seem to get a continuous loop. Would you have the luxury to help me fix the issue, I'll be grateful. Thanks
18th Apr 2020, 11:36 PM
Mujeeb Adeyanju Sunmola
Mujeeb Adeyanju Sunmola - avatar
+ 2
I wish to make the program to continously generate random Quiz upon a user interest If the user shows no interest of continuing with d quiz, the Program should simply ends. I hope someone will be able to help me with this. Thanks
10th Apr 2020, 4:23 PM
Mujeeb Adeyanju Sunmola
Mujeeb Adeyanju Sunmola - avatar
+ 1
Here is my try using a while loop: https://code.sololearn.com/cLIIojTJjZgC/?ref=app
19th Apr 2020, 11:09 AM
Lothar
Lothar - avatar