Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitadb5c99

Browse files
author
sina hosseinizad
committed
add missing imports
1 parentff53689 commitadb5c99

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎Notes/07_Advanced_Topics/03_Returning_functions.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Consider a function like this:
8686

8787
```python
8888
defafter(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
defafter(seconds,func):
114+
import time
113115
time.sleep(seconds)
114116
func()
115117

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp