Skip to content

Commit 98a608b

Browse files
committed
Bugs fixed
1 parent bb42746 commit 98a608b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Week04/decorators_tarik_bozgan.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
def custom_power(x, e=1):
2-
return x ** e
1+
custom_power = lambda x, e=1: x ** e
32

43
def custom_equation(x, y, a=1, b=1, *, c=1):
54
return (x ** a + y ** b) / c

0 commit comments

Comments
 (0)