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 |
Which one is easier r or python?
What is tuple when we have to use ?
What is print in python?
Do you know the number of keywords in python? Why should you know them all?
What is __ init __( self in python?
What is the parameter passing mechanism in Python?
Can you tell the difference between break and continue in python?
How to capitalize the first letter of each word in a string (python)?
What is setup cfg?
What is a unit test in Python?
Is python a scripting or programming?
Is set ordered in python?