Run ❯
Get your
own Python
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
x = 5 def myfunc(): print(x) x = 10 myfunc()
Traceback (most recent call last):
File "./prog.py", line 7, in <module>
File "./prog.py", line 4, in myfunc
UnboundLocalError: cannot access local variable 'x' where it is not associated with a value