We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb42746 commit 98a608bCopy full SHA for 98a608b
Week04/decorators_tarik_bozgan.py
@@ -1,5 +1,4 @@
1
-def custom_power(x, e=1):
2
- return x ** e
+custom_power = lambda x, e=1: x ** e
3
4
def custom_equation(x, y, a=1, b=1, *, c=1):
5
return (x ** a + y ** b) / c
0 commit comments