Please help, why does this code close immediately when I try to run it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please help, why does this code close immediately when I try to run it?

https://code.sololearn.com/cEBFV66piREp/?ref=app

21st Dec 2017, 12:36 PM
Roizan
3 Answers
+ 3
Firat of all, you need tu put a backslash("\") in here: print('When you\'re done, type "done".') To avoid quotes error :) And you must to indent lines after While. But the important thing is sololearn doesn't support input after the run once. If you make the changes and run it in a compiler it should work fine.
21st Dec 2017, 1:03 PM
Sebastián Zapata
Sebastián Zapata - avatar
+ 2
You need to escape quote chars to use them you\'re
21st Dec 2017, 12:58 PM
Dima Makieiev
Dima Makieiev - avatar
+ 1
thank you so much, guys! you/'re the best ;)
21st Dec 2017, 1:44 PM
Roizan