Python Core



Admission Enquiry Form




Comments in Python

Comments are used to make your program more descriptive and meaningful.Comments are non-executable statements. It means neither the pyhton compiler nor the PVM will execute them.




Example of Single line Comment(#):

#First python program.
print("Welcome to Compuhelp")




Multiline Comment.

Multiline comment in python can be applied to multiple lines adding '''(triple single quotes) or """(triple double quotes)

Example of multiline comment:

'''First python program.
program to print a message'''
print("Welcome to Compuhelp")