Informatics Practices

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

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

Getting Started

2 Likes

Answer

#

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

Answered By

3 Likes


Related Questions