Comments

--Originally published at Python

Code:
print(“This program just shows comments and how they affect the program.”)
#3
print(“As you can see, comments are only visible inside the code, they aren’t shown when the program runs. Otherwise, you’d see a 3 above this message.”)
#I shouldn’t be writing this much
print(“Comments help you understand what you are seeing in case the code was written by someone else. They can also help you remember what you were doing, in case you closed the program and decided to open it again some time later.”)
#Bye
Comments