python idle multiline comment code example
Example 1: multiline comment python
# While Python doesn't support multi-line comments, it can ignore anything
'''
inside a multi-line string!
Just wrap the comment in the three single quote marks,
And
you're
good
to
go!
'''
Example 2: multiline comment python
# Python doesn't support multi-line comment blocks out of the box.
# The recommended way to comment out multiple lines of code in Python is
# to use consecutive single-line comments.
# feelsbadman
Example 3: 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