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 method?
What is difference between raw_input and input in python?
How to comment multiple lines in python?
What is a raw input?
How you can minimize the memcached server outages in your python development?
What is a class definition in python?
What are the best sites to learn python?
When should you use the “break” in python?
How do you sort a list in descending in python?
What is asynchronous python?
How will you print the contents of a file?
What is anonymous function or lambda function?