comments in py code example
Example 1: comment in python
# This is a one line comment
"""
This is a comment for multiple lines,
as you can see
"""
""" But also this is valid """
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.