+ 3

Input Issues

I'm trying to write a python program in the Sololearn online code playground, but wherever I put a input('***') it only lets the user input something at the beginning of the code. Why does it do this? Can I fix this?

19th Apr 2019, 2:12 PM
Trinux
Trinux - avatar
5 Respuestas
+ 3
There is no fix for that, that's the way how solo learn code playground works if you don't want to download and install any other compiler try onlinegdb or pydroid to compile code offline
19th Apr 2019, 2:25 PM
Yugabdh
Yugabdh - avatar
+ 3
That's too bad. I use VSC. I wanted to share some code I had written on VSC but I guess I can't because of that issue.
19th Apr 2019, 3:28 PM
Trinux
Trinux - avatar
+ 2
I wrote a tic-tac-toe game XD pretty much impossible to do it with the solo learn playground lol. I'll post it anyways, you have a good point. Hopefully someone will try it.
19th Apr 2019, 4:58 PM
Trinux
Trinux - avatar
0
Well you can still share that code Write a docstring or comment at starting which guides the user how many inputs and what are the inputs so the user will be able to give multiple inputs as each input per line. If its something like a menu driven or something it's going to be so what tough.
19th Apr 2019, 3:33 PM
Yugabdh
Yugabdh - avatar
0
If somewhen is really interested in ur code he/she will find a way to run it.
19th Apr 2019, 3:34 PM
Yugabdh
Yugabdh - avatar