0

Whats problem. write EOF problem when reading 8 line

while 4>1: print("chose one of them and write on console:") print("\t\t-added") print("\t\t-subtract") print("\t\t-multiply") print("\t\t-divide") print("\t\t-quite") user_input = input("tape here: ") if user_input == "quite": break elif user_input == "added": print("ok")

19th Feb 2017, 5:52 PM
Ashyr Orazgeldiyev
Ashyr Orazgeldiyev - avatar
6 Respostas
+ 1
unless your wondering why it doesn't loop and ask for user input again.. it does in a proper ide.. the SoloLearn playground has very mediocre user input ability and it won't let it loop back and get user input a second time
19th Feb 2017, 7:05 PM
LordHill
LordHill - avatar
0
This runs fine in my ide
19th Feb 2017, 7:04 PM
LordHill
LordHill - avatar
0
This looks like Python 3.X.X code. What version are you using in Python?
19th Feb 2017, 10:33 PM
Mark
Mark - avatar
0
I coding in sololearn. i dont know which python versian in solo. But thank anyway
20th Feb 2017, 10:22 PM
Ashyr Orazgeldiyev
Ashyr Orazgeldiyev - avatar
0
on PC use an ide. eclipse or Koda or the one that comes with python.. on an android phone use QPython3
20th Feb 2017, 10:23 PM
LordHill
LordHill - avatar
0
Thanks, but how do I solve this problemm in SoloLearn?
20th Feb 2017, 10:27 PM
Ashyr Orazgeldiyev
Ashyr Orazgeldiyev - avatar