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 python db api?
Does Python support strongly for regular expressions?
Which linux is best for python programming?
What is the difference between `__str__` and `__repr__` methods in Python?
What does * args mean in python?
Whenever python exists why does all the memory is not de-allocated / freed when python exits?
Who created python?
Is python good for beginners?
What is sys stdout flush ()?
Explain important characteristics of python objects?
What is python __ init __?
Is there a reverse function in python?