Tell answer and explain. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 32

Tell answer and explain.

In python challenge there is a question where we have to delay time. (don't know exact question because i removed history). And fill in the blanks are like this: Import ____ _________(something) Here first we import time module and then what should i do? *some challengers like Ozair Khan MiKoLa🇳🇬IDLE etc. Can you please help me...

18th Jan 2021, 4:55 PM
Cheenu💕™
Cheenu💕™ - avatar
8 Answers
+ 17
import time time.sleep(seconds) This will delay or wait n seconds before executing the next program or the next lines of codes after it.
18th Jan 2021, 4:58 PM
noteve
noteve - avatar
+ 14
import time time.sleep(time);
18th Jan 2021, 4:59 PM
Krish
Krish - avatar
+ 13
Krish [less active] ✔️ thanks
18th Jan 2021, 5:01 PM
Cheenu💕™
Cheenu💕™ - avatar
+ 6
time.sleep(5) , program will sleep for 5 seconds
18th Jan 2021, 4:59 PM
Abhay
Abhay - avatar
19th Jan 2021, 4:43 AM
Sagar Maurya
Sagar Maurya - avatar
0
https://code.sololearn.com/ck9jpFKPpQrR/?ref=app He used loop for delay)) How will you(to all) do delay when not having functions?
19th Jan 2021, 6:39 PM
Just@bit$mile
Just@bit$mile - avatar
- 2
hi
20th Jan 2021, 9:08 AM
مونكي دي لوفي
- 2
hi
20th Jan 2021, 4:51 PM
Raxmonjon Azimjanov
Raxmonjon Azimjanov - avatar