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 3dfc446 commit f402ef0Copy full SHA for f402ef0
Week04/functions_tarik_bozgan.py
@@ -1,6 +1,6 @@
1
-custom_power = lambda x, e=1: x ** e
+custom_power = lambda x, /, e=1: x ** e
2
3
-def custom_equation(x, y, a=1, b=1, *, c=1):
+def custom_equation(x, y, /, a=1, b=1, *, c=1):
4
return (x ** a + y ** b) / c
5
6
_calls = {}
0 commit comments