What does timeit do in Python?
Correct answer
C. Measures the execution time of small code snippets
8 views
C. Measures the execution time of small code snippets
8 views
timeit runs code many times for reliable timings.
Asked in: Python Interview Advanced
https://docs.python.org/3/library/index.htmlNot sure why the answer is C? Ask here and get an explanation.