Run ❯
Get your
own Python
server
Result Size:
625 x 565
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
def my_function(x, /): print(x) my_function(x = 3)
x
def
my_function
(
x
,
/
):
print
(
x
)
my_function
(
x
=
3
)
Traceback (most recent call last):
File "./prog.py", line 4, in <module>
TypeError: my_function() got some positional-only arguments passed as keyword arguments: 'x'