python how to comment out code example
Example 1: how to comment python
# This is a comment
'''
This is a
MULTI LINE comment!
'''
Example 2: how to put comments in python
# Just put a hash before the comment. This can help other collaborators understand what you are doing, or help you remember the intention of a certain line of code. It should appear gray. Oh - and by the way, the Python computer ignores your comments.