Why can't i use statements like | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why can't i use statements like

c: delay(1000); or java: try{ Thread.sleep(1000); } catch(Exception e){} in soloLern apk

15th Feb 2018, 1:40 PM
V102
V102 - avatar
2 Answers
+ 4
SoloLearn doesn’t support a dynamic console, the code and input gets sent to them, it’s compiled and run there, then output gets sent back. This is also why input is at the beginning and there is no graphics besides web.
15th Feb 2018, 1:53 PM
Jacob Pembleton
Jacob Pembleton - avatar
+ 2
because sololearn playground is a 1 shot. The same reason all input needs to be put in before it runs.
15th Feb 2018, 1:54 PM
LordHill
LordHill - avatar