+ 2

How can I get user input in python 3 in the code playground? I tried the input function but it's giving me an EOF error

I tried my lines of code in a desktop version of python 3 and it's working perfectly fine here it isn't. Please help https://code.sololearn.com/c550SG3pLDNf/?ref=app

24th Jul 2020, 10:12 AM
Faith Adepoju
Faith Adepoju - avatar
5 Answers
+ 3
you should split lines so first input is inputted in the first line, second input is inputted in the second line, etc.
24th Jul 2020, 10:16 AM
anony mouse
anony mouse - avatar
+ 2
It working fine for me! No errors View this:👇 https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
24th Jul 2020, 10:18 AM
Vadivelan
+ 2
Wow Now I got it I tested it again and it's working fine Thanks friend for your help
24th Jul 2020, 10:23 AM
Faith Adepoju
Faith Adepoju - avatar
+ 2
Adepoju Faith Daniel Run the below code to understand how input works in SoloLearn. https://code.sololearn.com/WhiNb9BkJUVC/?ref=app Granger It is not a bug, the majority of online compilers works that way. There may be a few that works differently, but essentially, you can't compare online code processors to those that works offline (Pydroid etc.)
24th Jul 2020, 10:41 AM
Ipang
+ 1
@Vadi velan, I've uploaded my attempts
24th Jul 2020, 10:16 AM
Faith Adepoju
Faith Adepoju - avatar