Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
time module sleep localtime
#python 3.5.21 import time initial=time.time() print(initial) i=1 while(i<=10): print("karan bha") time.sleep(2) i=i+1 print("while loop ran in",time.time() -initial) initial2=time.time() for i in range(5): print("bunny") print("for loop ran is",time.time()) localtime=asctime(time.localtime(time.time())) print(localtime)
run
|
edit
|
history
|
help
0
main_game
Q2
sum of odd numbers
Lab_III_3_01_12_2020
Student
Converion of dictionary to list of tuples (Stackoverflow problem)
Name
TCS Digital phase 1 12 july 2019
binary
Lakshya chouhan