Comments in python

February 6, 2022 ยท View on GitHub

Single line:

# this line is commented out
height = 3  # this is a comment

And block comments:

'''
comments.md
Purpose: Describe comments in python
This is a multiline doc comment.
'''

...Those are called docstrings, and you include them at the start of modules and functions.