block comment 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 comment
"""
For Multi-Line Comments
Use Three """
"""
Example 4: comment in python
"""
This is a comment for multiple lines,
as you can see
"""
""" But also this is valid """
Example 5: how to make a comment in python
Example 6: python big comment
"""
3 quote marks is technically
a docstring, but it works as
a multi line comment
"""
and 'Alt 4' to uncomment
if False:
print('Hello')
you can technically put if False around code you dont want it to run,
but that would mean it has to have correct syntax,
and would not be good for readability.