Answers for "how to comment in python file"

1

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
"""
Posted by: Guest on November-13-2020

Code answers related to "how to comment in python file"

Python Answers by Framework

Browse Popular Code Answers by Language