Comments are notes of explanation that document lines or sections of a
program. [1]
Comments are part of the program, but the Python interpreter
ignores them. They are intended for people who may be reading the
source code. [1]
# This program displays a person's
# name and address.
print('Pegga!')
print("Pegga's Home")
================== RESTART: C:\Users\yyf24\Desktop\test.py ==================
Pegga!
Pegga's Home
参考文献
[1] Tony Gaddis,Starting Out with Python[M],United Kingdom: Pearson,2019