Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

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
"""
Comment

PREVIOUS NEXT
Code Example
Python :: django template tag multiple arguments 
Python :: descending python dataframe df 
Python :: python list comprehension with if 
Python :: case statement in pandas 
Python :: khan academy 
Python :: random.shuffle 
Python :: How many columns have null values present in them? in pandas 
Python :: how to plot corilation python 
Python :: discord.py get user input 
Python :: python datetime weekday 
Python :: python permutation 
Python :: python big comment 
Python :: case statement in querset django 
Python :: python list .remove() in for loop breaks 
Python :: django check if queryset is empty 
Python :: sum of number digits python 
Python :: python add all items in list 
Python :: python ndim 
Python :: pygame music player 
Python :: pandas read first column as index 
Python :: python bold text in terminal 
Python :: isidentifier method in python 
Python :: sort dictionary by value python 
Python :: opencv export image 
Python :: install virtual environment python mac 
Python :: print only numbers from string python 
Python :: python frame in a frame 
Python :: TypeError: cannot unpack non-iterable int object 
Python :: np confidence interval 
Python :: change plot size matplotlib 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =