1.

Write a short note on comments?

Answer»

Comments in Python

In Python, comments begin with hash symbol (#). The lines that begins with # are considered as comments and ignored by the Python interpreter. Comments may be single line or no multi – lines. The multiline comments should be enclosed within a set of # as given below.

# It is Single line Comment

# It is multiline comment

which contains more than one line #



Discussion

No Comment Found