Articles → Python → Comments In Python

Comments In Python






What Are The Comments?






# Comments



How Comment Works?




Picture showing the sample python code with comments





How To Comment And Uncomment Multiple Lines?




Picture showing the comment out region menu in IDLE




Picture showing the Uncomment region menu in IDLE



Multiline Comments




print("This is the multiline comment")

'''
print("This line will not get printed")
'''




Picture showing the multiline comment in python



Posted By  -  Karan Gupta
 
Posted On  -  Monday, January 28, 2019
 
Updated On  -  Wednesday, May 15, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250