Skip to content

Commit e45fc53

Browse files
Create functions_buse_demirbas.py
1 parent 71f5b39 commit e45fc53

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Week04/functions_buse_demirbas.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
def custom_power(x , / , e=1)
2+
return x**e
3+
def custom_equation(x=0 , y=0, / , a=1 , b=1, * , c=1) -> float:
4+
return (x**a + y**b)/c
5+
def fn_w_counter():
6+
if not hasattr(fn_w_counter, "total_calls"):
7+
fn_w_counter.total_calls = 0
8+
if not hasattr(fn_w_counter, "callers"):
9+
fn_w_counter.callers = {}

0 commit comments

Comments
 (0)