python commeny 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: python multiline comment

#%% There are not multiline comments in python,
# this # is the only form of commenting but, people use
# """triple quotes""" for multiline commenting but this
# is actually a String the interpreter will read and 
# will ocupy memory. If you dont put this kind of string
# into a variable it will be collected on execution