pythn comments code example
Example 1: python comment
# This is a comment
""" This is a comment"""
"""
This is a comment
Also this is a 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.