python note line 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: how to add a cooment in python

#How to add a comment/multi-line comment in python

#This is a single line comment

#For a single line comment, you need to add a hashtag in python.

"""
This is the multi-line comment
You start of with triple single quotes or else you can also start with
triple doulble quotes (hope that makes sense) and then you end with triple
single quotes or triple double quotes
"""