Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit adb5c99

Browse files
author
sina hosseinizad
committed
add missing imports
1 parent ff53689 commit adb5c99

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Notes/07_Advanced_Topics/03_Returning_functions.md

+2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Consider a function like this:
8686

8787
```python
8888
def after(seconds, func):
89+
import time
8990
time.sleep(seconds)
9091
func()
9192
```
@@ -110,6 +111,7 @@ def add(x, y):
110111
return do_add
111112

112113
def after(seconds, func):
114+
import time
113115
time.sleep(seconds)
114116
func()
115117

0 commit comments

Comments
 (0)