What does timeit do in Python?
Correct answer
C. Measures the execution time of small code snippets
C. Measures the execution time of small code snippets
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.