0

Hello why does multiple input functions not work on Sololearn?

I have code that has multiple inputs on Sololearn and only one of them runs and I was wondering why that is? Will it ever be different?

29th Apr 2020, 8:10 PM
sudo-asap
sudo-asap - avatar
4 Answers
+ 5
sudo-asap the all input should be given in one go before running the program. Sololearn compiler works only like that
29th Apr 2020, 8:13 PM
Preity
Preity - avatar
+ 2
This code tells you how to deal with SoloLearn input... It need to give all input at once by line by line in python separating in Sololearn.. Kindly run this program.. https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
29th Apr 2020, 8:27 PM
Jayakrishna 🇼🇳
0
Code you enter and run within Sololearn is executed on computer(server) somewhere in the cloud and then result is displayed for you. So you have to enter all inputs in advance.
29th Apr 2020, 8:50 PM
Uros Zivkovic
Uros Zivkovic - avatar
0
Sololearn takes all of your inputs. It just needs to do so in the beginning. If you put each input on its own line, you should be good!
29th Apr 2020, 9:17 PM
Zackary Lee
Zackary Lee - avatar