CBSE Class 11 Informatics Practices Question 29 of 62

Getting Started with Python — Question 10

Back to all questions
10
Question

Question 10

Single-line comments in Python begin with ............... symbol.

  1. %
  2. "
  3. '''
  4. #
Answer

#

Reason — The # symbol in Python indicates the start of a single-line comment, which extends from the # to the end of the line.