这段代码为什么在Jupyter Notebook上运行正常,但在新的Python文件上不起作用?
英文: Why does this code work on jupyter notebook but don´t work on a new python file? 问题 {#heading} ============= 为什么在.py(Python)格式上运行时,该代码显示缩进错误,但在.ipynb(Jupyter Notebook)上运行时可以顺利运行? [...
英文: Why does this code work on jupyter notebook but don´t work on a new python file? 问题 {#heading} ============= 为什么在.py(Python)格式上运行时,该代码显示缩进错误,但在.ipynb(Jupyter Notebook)上运行时可以顺利运行? [...