1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 11
  4. Which of the following is a valid Python comment?

Added 16 Nov 2026

Which of the following is a valid Python comment?

  1. // comment
  2. # comment Correct answer
  3. /* comment */

Correct answer

B. # comment

9 views

MCQSEXAM

Explanation

Comments start with #. They are ignored by the interpreter and used for explanation.

Reference

Asked in: Matric,FBISE

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Science FBISE Class 11 MCQs

Practise all Computer Science FBISE Class 11 MCQs

Similar MCQs