运行代码时报错:NameError: name 'N' is not defined<Figure size 1000x800 with 0 Axes>怎么解决啊
变量N没定义呀你要先给N赋值呀,要不然N+1是几呢