+ 1
'sleep' in code playground (c#)
Hi, I'm trying to write a string to the console, with a time-interval of 1 second. my problem is that the code playground outputs everything at the same time. looks like sololearn playground cannot handle sleep. https://code.sololearn.com/csuHoKgGAf3y/?ref=app does anybody know if this is possible? Note: I've also tried to accomplish using JavaScript in html, but this doesn't seem to work.
2 Answers
+ 4
Doesn't work on SL code playground :-(
+ 2
@Meherban Singh: Do you also know whether this is the case for JavaScript?
(setTimeOut/setInterval)