0

how to write comment in python

23rd May 2018, 6:34 AM
Gaurav
3 ответов
+ 11
Single line comment:- Comments in Python start with the hash character, # , and extend to the end of the physical line. A commentmay appear at the start of a line or following whitespace or code, but not within a string literal. A hash character within a string literal is just a hash character. Multi line comments:- Comments are used to remind yourself and to inform others about the function of your program. Multiline comments are used for large text descriptions of code or to commentout chunks of code while debugging applications. Comments are ignored by the compiler. https://www.sololearn.com/learn/Python/2288/?ref=app
23rd May 2018, 6:35 AM
Abhivarshini Maddala
Abhivarshini Maddala - avatar
0
ȚHÀÑĶŚ
23rd May 2018, 6:37 AM
Gaurav