🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Python Introduction: all 15 questions

Quiz: Python Introduction · Question 2 of 15

Which symbol starts a comment in Python?

Which symbol starts a comment in Python?

  1. A.//
  2. B.

  3. C./*
  4. D.--
Answer & explanation

Correct answer:

In Python, everything after # on a line is a comment.

Can you get the rest right without peeking?

Take the timed Quiz: Python Introduction quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →