How can i stop the code running for 1 sec and then it continues | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can i stop the code running for 1 sec and then it continues

sorry for my english

17th Sep 2017, 2:38 PM
ketze
ketze - avatar
3 Answers
+ 12
import time print('0') time.sleep(1) print('1')
17th Sep 2017, 3:03 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
thank you!
17th Sep 2017, 3:17 PM
ketze
ketze - avatar
- 1
it doesnt work in SL I mean u cant see the difference... if u give 5 sec time limit will exceed
17th Sep 2017, 4:59 PM
sayan chandra
sayan chandra - avatar