how to Write comments in Python 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 comment
""" This is a comment"""
"""
This is a comment
Also this is a comment
"""
Example 3: 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 4: python comment
"""
For Multi-Line Comments
Use Three """
"""
Example 5: how to make a comment in python
Example 6: 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