Google News
logo
Python - Interview Questions
What is Python Comments ?
In Python, we use the hash (#) symbol to start writing a comment. 

Single lined comment :
In case user wants to specify a single line comment, then comment must start with ?#?

Multi lined Comments :
If we have comments that extend multiple lines, one way of doing it is to use hash (#) in the beginning of each line. For example.

#This is
#educational website.
#URL is freetimelearning.com
Advertisement