What does the ‘#’ symbol do in Python?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
‘#’ is used to comment on everything that comes after on the line
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nashiinformaticssolutions
The `#` symbol is used to add comments in Python. Comments are not executed and are intended to explain the code for the benefit of developers.
Example:
python
# This is a comment
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
The `#` symbol is used to add comments in Python. Comments are not executed and are intended to explain the code for the benefit of developers.
Example:
python
# This is a comment
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the python interactive console or python shell?
Why pypy is faster than python?
Which is best python or r?
How do you check whether the two variables are pointing to the same object in python?
Is python 0 based?
What does == mean in python?
What is the __ init __ method used for?
What is data type set in python and how to work with it?
What is the difference between range () and xrange () in python 3?
How can I merge two python dictionaries in a single expression?
What is key lambda in python?
How do you split a string in python?