Skip to content

Commit eb58aec

Browse files
committed
decorator has been added
1 parent 8c31899 commit eb58aec

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+
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)