How to exit the writing of Python programs in the dos command line

The first method: In Windows, press Ctrl+Z, and then press Enter to exit.
The second method: In Linux, press Ctrl+D to exit.

Guess you like

Origin blog.csdn.net/xiaoning9299/article/details/82193052