Which of the following symbol is used to add comments in the Python language?
2024
Which of the following symbol is used to add comments in the Python language?
- A.
*
- B.
#
- C.
!
- D.
//
Attempted by 215 students.
Show answer & explanation
Correct answer: B
In Python, the hash symbol # is used to add comments.