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 a repl in python?
How to add values to a python array?
Tell me what are the tools that help to find bugs or perform static analysis?
How to share global variables across modules?
Write a script to connect to MySql database using Python?
How can you copy objects in python?
What is used to create unicode strings in Python?
Which method will be used to delete a file ?
How to append to a string in Python?
What are the programming-language features of python?
What is pytables?
What is the pass statement in python?