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

Appearance settings

Commit eb58aec

Browse filesBrowse files
committed
decorator has been added
1 parent 8c31899 commit eb58aec
Copy full SHA for eb58aec

File tree

3 files changed

+16
-0
lines changed
Filter options

3 files changed

+16
-0
lines changed
Binary file not shown.
Binary file not shown.
+16Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import time
2+
from dec_call_functions import add, 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.