0
Does anyone if this app allows you to input more than once when running code
I ran a code and it requires the user to input a choice... 1 for yes 2 for no. Then asked if you would like to do it again. But it doesn't ask it just automatically selects the same. I was wondering if it's the app or me haha
3 Respostas
+ 2
Sololearn is a bit special in the way it runs code.
Take a look at this 'video', it explains it pretty well...
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
+ 2
Oh I see. That explains it. Thanks for your help. I'll give it a go
+ 2
So for that reasons, while loops are tricky.
But if you know the number of inputs, you can enter them line by line before you run the code.