A quick task for you

Now that you have finished this chapter, can you answer these questions?

Q1. What is a terminal (Mac/Linux) or command prompt (Windows)?

  1. A terminal is used to put data into or get data out of a computer without using the icons on the desktop.
  2. A terminal can be used to write computer programs.
  3. A terminal can be used to do complex work, such as giving hints on Python code.
  4. A terminal can do all of the above.

Q2. When you first open the terminal/command prompt, what do you need to do so that you can start reading and writing the Python code?

  1. Start typing the code.
  2. Type the word python.
  3. Wait for Python to start.
  4. None of the above; do something different.

Q3. How is the Python shell different from the command line?

  1. They are exactly the same. ...

Get Python Projects for Kids now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.