0

Input in python (playground)??

if i try smth like x=int(input("...:")) on the code playground it would just say "ur programm needs input" and if i type smth in it wouldnt work

27th Dec 2016, 11:46 AM
Sascha Lenz
Sascha Lenz - avatar
6 Réponses
+ 6
I think it happens on multiple input.
27th Dec 2016, 11:49 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 6
Use only one input in your code and ask the user to write each input after a comma (or something else) and then split it with string operations.
27th Dec 2016, 11:52 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 5
Yes.
27th Dec 2016, 11:48 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
mhm? well i tried it on a simple one and it worked fine but on more complicated ones it doesnt work
27th Dec 2016, 11:49 AM
Sascha Lenz
Sascha Lenz - avatar
+ 1
is there a solve or simple conclusion?
27th Dec 2016, 11:50 AM
Sascha Lenz
Sascha Lenz - avatar
+ 1
good idea, thx :)
27th Dec 2016, 11:57 AM
Sascha Lenz
Sascha Lenz - avatar