We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21d3401 commit 3120dfbCopy full SHA for 3120dfb
Week06/timer_beyza_saridas.py
@@ -0,0 +1,9 @@
1
+import time
2
+
3
+class Timer:
4
+ def __enter__(self):
5
+ self.start_time = time.time()
6
+ return self
7
8
+ def __exit__(self, exc_type, exc_val, exc_tb):
9
+ self.end_time = time.time()
0 commit comments