+ 1

Can I make a comment in python

I have a small python script that I would like to put a"comment" in, I've tried a lot and I even went back to the lesson and found nothing on the concept, is it even possible?

2nd Oct 2018, 11:57 AM
Joshua Wilson
Joshua Wilson - avatar
3 ответов
+ 2
Yes, you can. Just put a hashtag before that line to comment it out. eg: #print("This will not be printed")
2nd Oct 2018, 12:29 PM
chacha singh
chacha singh - avatar
+ 8
# Comment.
2nd Oct 2018, 11:59 AM
HonFu
HonFu - avatar