Please Help!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please Help!!

Why is there an error in line 13?? Thanks for your help! https://code.sololearn.com/cT6n6d50evnQ/?ref=app

13th Jun 2019, 7:36 AM
Nils
Nils - avatar
4 Answers
+ 2
I believe the error is due to how sololearn takes in input (does it all at once in the beginning.) What happens is it tries to read another number but there isn't one. You can put in a bunch of inputs if you like though, just put a return in between each number.
13th Jun 2019, 7:44 AM
Jackson O’Donnell
+ 2
(If you can)Use an IDE like PyCharm for testing programs.
13th Jun 2019, 7:48 AM
Fumikage Tokoyami
Fumikage Tokoyami - avatar
0
In Python idle on the pc it works! So it's most likely due to SoloLearn...
13th Jun 2019, 8:26 AM
Nils
Nils - avatar
0
Thanks for your help anyway☺️
13th Jun 2019, 8:26 AM
Nils
Nils - avatar