python single line comment code example
Example 1: how to make a comment python
# You use a hastag at the beginning of the line to make anything after it a comment
'''
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"""
"""
This is a comment
Also this is a comment
"""
Example 3: python comment
# To make a Python Comment just use # and type.
"""
For Multi-Line Comments
Use Three """
"""
Example 4: 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 5: 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 6: python comment
# This line is cemmented out