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 |
Differentiate between the append() and extend() methods of a list?
Explain pickling and unpickling in python?
Are numpy arrays faster than lists?
What is slug in python?
What is pack in python?
What is setuptools in python?
Explain identity operators in python?
What is split() function?
How to get a list of class attributes in python?
What is the output of this below query?
How do you run a python script?
Is python the future of programming?