0
How can I get this code to start back at the beginning after a calculation has been made?
Trying to make the calculator start back at the beginning after the first calculation has been made. Any help would be appreciated. https://code.sololearn.com/cQLYb76uSbzU
3 Antworten
+ 2
This code will do. You had some errors that are fixed. Give the value between 1 to 4 to stay inside the loop. If the value is not in range then it will break. Run this on your system.
https://code.sololearn.com/c09K0CY7PRP2/?ref=app
+ 1
You can't do that in SoloLearn code playground. Because the compilation occurs at the server and all input must be input before code is compiled. Except for web code.
You can do it in your computer with an infinite while loop.
0
thank you! very helpful, got it fixed