pyhton comments code example
Example 1: how to make a comment python
'''
You can also make a multi line comment
With three single quotes at the beginning and end!
'''
Example 2: python comments
something = 1
"""If you don't want to write a comments using hashtags,
you can put them in a multi-line comment block.
However, if you put hashtags in strings, they do not
create comments.
"""
Example 3: how to make a comment in python
Example 4: python comments
def foo(param_1=True):
"""Example function.
Parameters
----------
param_1 : bool, optional
The first parameter (default is True)
Returns
-------
num
a number
"""
return -1
Example 5: python comments
Example 6: comments in python