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

Commiteb58aec

Browse files
committed
decorator has been added
1 parent8c31899 commiteb58aec

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed
Binary file not shown.
Binary file not shown.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
importtime
2+
fromdec_call_functionsimportadd,compute_square,view_profile,fibonacci,fetch_data
3+
4+
if__name__=="__main__":
5+
print(add(5,7))
6+
compute_square(1000000)
7+
user1= {'name':'Alice','authenticated':True}
8+
user2= {'name':'Bob','authenticated':False}
9+
print(view_profile(user1))
10+
print(view_profile(user2))
11+
print(fibonacci(10))
12+
print(fetch_data())
13+
time.sleep(3)
14+
print(fetch_data())
15+
time.sleep(5)
16+
print(fetch_data())

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp