Closed john-science closed 5 years ago
This works:
from datetime import datetime from timeit import timeit timeit(str(datetime.now().strftime('%Y')), number=10)
but this doesn't:
from datetime import datetime from timeit import timeit timeit(str(datetime.now()), number=10)
There are some details about timeit that I need to add to the lecture.
timeit
This works:
but this doesn't:
There are some details about
timeit
that I need to add to the lecture.