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