Home | | Computer Science 12th Std | Comments in Python

Python - Comments in Python | 12th Computer Science : Chapter 5 : Core Python : Python Variables and Operators

Chapter: 12th Computer Science : Chapter 5 : Core Python : Python Variables and Operators

Comments in Python

In Python, comments begin with hash symbol (#).

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 #

 

Tags : Python , 12th Computer Science : Chapter 5 : Core Python : Python Variables and Operators
Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail
12th Computer Science : Chapter 5 : Core Python : Python Variables and Operators : Comments in Python | Python


Privacy Policy, Terms and Conditions, DMCA Policy and Compliant

Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.