+ 2
Define sleep() function
2 ответов
+ 8
Sleep () function suspends the execution of the program for a specified period of time. This time period is specified as an argument to the sleep () function.
In c or cpp u can also use delay function. Its syntex is
delay(100);
Here is example of sleep function its working on other Compiler not in solo. U can you cxxdroid.
https://code.sololearn.com/cyxFCc301DnI/?ref=app
+ 4
time.sleep(3) : stops the code for 3 seconds