loading

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.11984699058662107","path":"main.py","file":{"path":"main.py","content":{"asEncoding":{"base64":"YSA9IDEKZGVmIGYxKCk6CiAgYSA9IDIKICBkZWYgZjIoKToKICAgIG5vbmxvY2FsIGEKICAgIGEgPSAzCiAgICBwcmludChhKSAjINCy0YvQstC+0LTQuNGCIDMKICBmMigpCiAgcHJpbnQoYSkgIyDQstGL0LLQvtC00LjRgiAzCgpmMSgpCnByaW50KGEpICMg0LLRi9Cy0L7QtNC40YIgMQ=="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
a = 1
def f1():
  a = 2
  def f2():
    nonlocal a
    a = 3
    print(a) # выводит 3
  f2()
  print(a) # выводит 3

f1()
print(a) # выводит 1