Help me Please! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help me Please!

İm new at programming can u help me.İm trying to code something like a bot program but i cant use the 'elif'(the second user input needs to be elif as i know 'elif user_input == "Stop": ) invalid syntax it says also is there a way to use an 'import' after if https://code.sololearn.com/cOxU65f7irUj/?ref=app

27th Dec 2018, 10:16 AM
Trying
Trying - avatar
2 Answers
+ 4
Hi! Do you get this error in your computer? Because sololearn doesn't support some of the modules you included. And bring that line (import os) to the top of the file.
27th Dec 2018, 10:42 AM
Seniru
Seniru - avatar
0
Of course i do that on my computer and i already tried bringing tht import line to the top but then i got an invalid syntax for (os.system)and the os part got red
27th Dec 2018, 11:18 AM
Trying
Trying - avatar