It is useful to place a comment in place to indicate what you are doing. It is added into the program for making the program easier to understand and these are not compiled by the compiler or interpreter. It is useful if you want someone else to be able to ever read your code.
There are two ways to declare comment in python which are as follows:
>>>print "hello Intellipaat" # It will print the string hello Intellipaat
>>>print "hello Intellipaat" “’It will print the string hello Intellipaat”’
Learn more about PYTHON TOOLKIT in this insightful blog now!Previous Next
Learn SQL in 16 hrs from experts