As programs get bigger and more complicated, they get more difficult to read.this is one reason why programmers should use comments in their code
Comments, depending on the situation, do several useful things at once:
Comments are in one line: such comments begin with the # symbol
Example:
# This is a one line comment
Or comments can be multi-line, for this you need the text that you want to comment out, enclose in triple quotes
Example
"""
This is a multi-line comment,
created with
triple quotes
"""
Comments
Leave a comment