Which of the following characters is used for specifying a single line/inline…

2026

Which of the following characters is used for specifying a single line/inline comment in Python?

Answer: B. #

  1. A.

    $

  2. B.

    #

  3. C.

    """

  4. D.

    !

Attempted by 1239 students.

Show answer & explanation

Correct answer: B

Explore the full course: Rssb Basic Computer Instructor

Loading lesson…