diff --git a/Week04/functions_aygul_ozkeklik.py b/Week04/functions_aygul_ozkeklik.py new file mode 100644 index 00000000..1aa53336 --- /dev/null +++ b/Week04/functions_aygul_ozkeklik.py @@ -0,0 +1,10 @@ +custom_power = lambda x, e: x ** e + +def custom_equation(x, y, a, b, c): + return (x**a + y**b) / c + +def fn_w_counter(): + if not hasattr(fn_w_counter, "count"): + fn_w_counter.count = 0 + fn_w_counter.count += 1 + return fn_w_counter.count, {__name__.split('.')[-1]: fn_w_counter.count}