Getting Started with Python · Class 11 · CBSE · Science Computer Science

In Python's interactive mode, what does the prompt >>> generally indicate?

Practice question from Getting Started with Python (Class 11 · CBSE · Science Computer Science), with the correct answer and a step-by-step solution.

easy · MCQ · Q-F2CDCD

In Python's interactive mode, what does the prompt >>> generally indicate?

  1. A.Python is ready to receive a commandCorrect answer
  2. B.Python has detected a syntax error
  3. C.A Python program has finished execution
  4. D.Python is displaying the value of a variable

Solution

The prompt >>> is displayed by the Python interpreter when it is ready to accept a command in interactive mode.

More from Getting Started with Python

All of Getting Started with Python

Practise more Computer Science

Sign up free for adaptive practice on this chapter, with instant feedback and hints on every question.

Start practising free

Free to start · No credit card needed