Coding tools
Learn & compete
Community
Practice
Measure elapsed time in a with block.
Constraints
Example
with Timer() as t: sum(range(10**6)) print(t.elapsed) # e.g. 0.03
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints