简体   繁体   中英

Pycharm. 'Process finished with exit code 0' . No output in print()

I'm using Pycharm 3.7 . Very basic code.

myList = [1, 2, 3, 15, 33, 156]
print(myList)
b = 0
print(b)

Though Pycharm gives no output. Only Process finished with exit code 0 And I don't understand why. Yesterday I was working in Pycharm and everything was fine. Thank you in advance.

pycharm代码的打印屏幕

right click anywhere in the page you are at, and click Run "Page_name" to run that page and set the current page-to-run to that page.

You are not running the correct file. You are running example_1.py instead of exercises.py

Pycharm runs the example_1.py. You need to run your own file which is exercises.py

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM