Why does it look like this? Or is this how it looks?

已回答

It looks like this but from another video it looked like this from below

 

0

This is how the PyCharm Run tool window shows a script run. 

The first line is the command that PyCharm ran: the interpreter of your project's virtual environment (.venv\Scripts\python.exe) and your main.py. The last line, "Process finished with exit code 0", means that the script ended without errors.

 The text between them is the output of your print() calls. The video most likely runs the script in a terminal with a green text color scheme, not in the PyCharm Run window.

 To get the same plain output in PyCharm, open the Terminal tool window with Alt+F12 and run this command: python main.py

0

请先登录再写评论。