+ 1

How we can comment any line in python??

like if we want to add two numbers and we have to describe that in this part of program we are adding two numbers

20th Dec 2016, 12:50 PM
Sharan
5 ответов
+ 6
#python uses hashtags for comments lol
20th Dec 2016, 1:13 PM
Ahri Fox
Ahri Fox - avatar
+ 3
...or three quotes ("""like this...""")
20th Dec 2016, 1:20 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 2
""" If you have to explain that you're adding two numbers...in Python...with a comment...something has gone horribly, horribly wrong. """
20th Dec 2016, 1:23 PM
Kirk Schafer
Kirk Schafer - avatar
0
if you want to comment line in python. You can use this, example- #this is comment.
20th Dec 2016, 11:21 PM
Ye Htet Kyaw
Ye Htet Kyaw - avatar
0
Start by typing # and then write any thing you want to comment after it For example: #this is a comment
21st Dec 2016, 8:07 AM
Peter
Peter - avatar