Skip to content

Commit e83bb03

Browse files
committed
Bug fix trial 5
1 parent f402ef0 commit e83bb03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Week04/functions_tarik_bozgan.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
custom_power = lambda x, /, e=1: x ** e
1+
custom_power = lambda x=0, /, e=1: x ** e
22

3-
def custom_equation(x, y, /, a=1, b=1, *, c=1):
3+
def custom_equation(x=0, y=0, /, a=1, b=1, *, c=1):
44
return (x ** a + y ** b) / c
55

66
_calls = {}

0 commit comments

Comments
 (0)