用惯了print, 感觉挺low,突然想学学新方式: debug 1、 pycharm 添加断点 在序号和代码之间右键即可添加断点 2、pycharm 进入 debug模式方式(三种) 3、 进入debug模式后操作;