Code Comments in Python


Using comments is really important to make sure that you yourself and other can understand your coding. To add comments to the scripts of your Python program you need to use # Sign.

Python does not run what is written after # sign and ignores it.

e.g:

# Add 4 and 5 equal 9

print(4+5)

Comments