0

Multiple inputs

In Python, I'm trying to code an input, then some code that applies a function to the input, and then repeat the process, so that it keeps prompting the user to enter more inputs. All the code playground seems to be allowing me to do is a single input, or multiple inputs all at once before I run the program. I've tried using while loops, and even that doesn't work. Any ideas?

24th Jul 2018, 8:57 PM
Josh
7 odpowiedzi
+ 6
Sololearn app does not host any of the interpreters inside it. All your code is transferred to a remote server which runs it locally and all you get back is an output. So there is no physical possibility of multiple interaction like you want it. This is why you have to provide all your input right away.
24th Jul 2018, 9:04 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 5
If for Android, try PyDroid3 or QPython3. They both support simple but proper IDEs for creating and running scripts.
24th Jul 2018, 10:11 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 3
I hear good opinions on this one: http://omz-software.com/pythonista/ Ten bucks, though...
25th Jul 2018, 5:35 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
Thanks, can you recommend an app where I can do multiple interaction?
24th Jul 2018, 10:05 PM
Josh
0
I have iOS. Any recommendations?
24th Jul 2018, 11:20 PM
Josh
0
how can I separade the inputs?
27th Aug 2019, 4:06 AM
yvs93
yvs93 - avatar
- 1
it is working on sololearn too but you have to give all the input at once. please check below thread and my comment in same thread. https://www.sololearn.com/Discuss/1422760/?ref=app
25th Jul 2018, 2:01 AM
$¢𝐎₹𝔭!𝐨𝓝
$¢𝐎₹𝔭!𝐨𝓝 - avatar