How can we delay the time between the 'output' of 'print' statements at console screen without any further input from the user ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can we delay the time between the 'output' of 'print' statements at console screen without any further input from the user ?

Refer my code: https://code.sololearn.com/cD84t8R3bhxu/?ref=app I want this line of codes to be printed one by one with some time interval so that i appears to be as PROGRESSBAR(loading).....

16th Apr 2020, 2:48 PM
Aditya Narayan Chaurasia
Aditya Narayan Chaurasia - avatar
1 Answer
+ 1
In C nanosleep() from time.h or sleep() from unistd.h
16th Apr 2020, 2:53 PM
Igor Kostrikin
Igor Kostrikin - avatar