How do you delay your program like wait 5 sec and how do you print exact time? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

How do you delay your program like wait 5 sec and how do you print exact time?

28th Apr 2019, 6:20 PM
Kristi Teneqexhi
Kristi Teneqexhi - avatar
9 Answers
+ 2
Happy to have helped Kristi Teneqexhi
28th Apr 2019, 6:35 PM
Jason Mackjoo
Jason Mackjoo - avatar
+ 4
Import time time.sleep(5)
28th Apr 2019, 6:26 PM
Jason Mackjoo
Jason Mackjoo - avatar
+ 3
Jason Mackjoo thx bro. What about real time print?
28th Apr 2019, 6:31 PM
Kristi Teneqexhi
Kristi Teneqexhi - avatar
+ 3
Jason Mackjoo you are the best lol thx a lot.
28th Apr 2019, 6:34 PM
Kristi Teneqexhi
Kristi Teneqexhi - avatar
+ 3
Jason Mackjoo check it out and plz help me one more time XD. I am just a begginer https://code.sololearn.com/c0dInqriyE44/?ref=app
28th Apr 2019, 7:07 PM
Kristi Teneqexhi
Kristi Teneqexhi - avatar
+ 2
datetime.datetime.now()
28th Apr 2019, 6:33 PM
Jason Mackjoo
Jason Mackjoo - avatar
+ 2
There is still an error on line 26
28th Apr 2019, 7:23 PM
Jason Mackjoo
Jason Mackjoo - avatar
+ 1
For line 42 add a blank space to indent it.
28th Apr 2019, 7:22 PM
Jason Mackjoo
Jason Mackjoo - avatar
+ 1
Your code is correct now. When you do your input put the values required on separate lines example: 2 ^
28th Apr 2019, 7:35 PM
Jason Mackjoo
Jason Mackjoo - avatar