Help me in finding out the exact difference between time and timeit magic commands in jupyter notebook.
%time
a="stack overflow"
time.sleep(2)
print(a)
It shows only some micro seconds, But I added sleep time as 2 seconds
Help me in finding out the exact difference between time and timeit magic commands in jupyter notebook.
%time
a="stack overflow"
time.sleep(2)
print(a)
It shows only some micro seconds, But I added sleep time as 2 seconds