Comments in python

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.

results matching ""

    No results matching ""