Does anyone know how add comments in Python? [SOLVED] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Does anyone know how add comments in Python? [SOLVED]

I have started the Python Course and so far I have not seen a method to insert text that the compiler will skip like // or /* */ in C based languages

17th Mar 2017, 2:18 PM
Manual
Manual - avatar
3 Answers
+ 12
# for one line comments or: """ for multi- line comments """
17th Mar 2017, 8:50 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 7
Thank you, I appreciate that you all set aside time, to answer my question.
17th Mar 2017, 10:05 PM
Manual
Manual - avatar
+ 3
It's explained in section 5 of functions and modules
17th Mar 2017, 3:05 PM
tracy
tracy - avatar