+ 5

[SOLVED]When input is not called

in this code https://code.sololearn.com/c5bWmBs20MnO/?ref=app when help is inputted and nothing else. xy dose not get called. how do I make it so I dose not raise a error when that happens?

9th Jul 2018, 5:47 PM
LONGTIEšŸ‘”
LONGTIEšŸ‘” - avatar
2 Answers
+ 1
It is SoloLearn's feature for Python. If several input() functions are called, you have to enter those inputs separated with new lines. This error shouldn't appear in normal interpretators.
9th Jul 2018, 8:05 PM
OSA413
OSA413 - avatar
+ 3
OSA413 thx
9th Jul 2018, 8:08 PM
LONGTIEšŸ‘”
LONGTIEšŸ‘” - avatar