05 How to write comments in Python? Like other programming languages Python also has commenting capability for the purpose of in-code documentation.
Single Line Comment:
Comments start with a #, and Python will render the rest of the line as a comment:
Example:
#This is a comment. print("Hello, World!")
Or
print("Hello, World!") #This is a comment
Multy-Line Comment:
In-fact Python does not have any syntax for multi-line...