Question 175Asked in DSSSB TGT Computer Science, 7 Feb 2024, Shift 2 (12:30 PM)

Which symbol is used to add the comment in the code or program to make it more

Which symbol is used to add the comment in the code or program to make it more readable and understandable in Python programming language?
  1. A#
  2. B*
  3. C–
  4. D:
Show answerHide answer

Correct answer: (A) #

Explanation

Python uses # for comments, which make code more readable and are ignored by the interpreter.

From DSSSB TGT Computer Science PYQ, 7 Feb 2024, Shift 2 (12:30 PM)

This is question 175 of DSSSB TGT Computer Science PYQ, 7 Feb 2024, Shift 2 (12:30 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.