运行代码后出现Process finished with exit code 0

pycharm_运行不出结果,也不报错_Process finished with exit code 0

用pycharm运行程序的时候,运行不出结果 ,也不报错,且正常退出

解决1:将 run → edit configurations → run with python console 勾掉

解决2:注意空格注意空格!!!我的情况是程序中一个小循环的空格缩进不对

记录一下
————————————————
版权声明:本文为CSDN博主「xxccxiao」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/m0_37569924/article/details/105307586
posted @ 2022-06-12 11:21  ethan178  Views(888)  Comments(0Edit  收藏  举报