@acwoss/

MajesticUnlinedBorderterrier

Python

No description

fork
loading
Files
  • main.py

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.7265006356191379","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"eCA9IDEKCmRlZiBmb28oKToKICAgIHggPSAyCiAgICAKICAgIGRlZiBiYXIoKToKICAgICAgICBnbG9iYWwgeAogICAgICAgIHByaW50KCJiYXI6IiwgeCkKICAgICAgICAKICAgIGRlZiBiYXooKToKICAgICAgICBub25sb2NhbCB4CiAgICAgICAgcHJpbnQoImJhejoiLCB4KQogICAgICAgIAogICAgYmFyKCkKICAgIGJheigpCiAgICAKZm9vKCk="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
x = 1

def foo():
    x = 2
    
    def bar():
        global x
        print("bar:", x)
        
    def baz():
        nonlocal x
        print("baz:", x)
        
    bar()
    baz()
    
foo()