内层函数执行count += 1,但count只在外层函数中绑定。省略nonlocal count会怎样?

来自闭包
Python 3.14 进阶 1分钟

内层函数执行count += 1,但count只在外层函数中绑定。省略nonlocal count会怎样?

报告错误