+ 2

Define sleep() function

24th Jun 2020, 8:56 AM
Sumiran Singh
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
25th Jun 2020, 9:36 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 4
time.sleep(3) : stops the code for 3 seconds
24th Jun 2020, 9:04 AM
Linus Lange
Linus Lange - avatar