官术网_书友最值得收藏!

  • Python Projects for Kids
  • Jessica Ingrassellino
  • 190字
  • 2021-07-09 19:35:11

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.
  2. The command line cannot run Python commands.
  3. The Python shell is started by typing the word python into the command line.
  4. The Python shell can be used to test lines of Python code.
Note

Compare your answers with those you find at the back of the book.

主站蜘蛛池模板: 互助| 溧阳市| 凭祥市| 克山县| 禹城市| 荔浦县| 阿瓦提县| 磐安县| 高碑店市| 安丘市| 麻阳| 读书| 资源县| 闸北区| 新龙县| 西贡区| 古田县| 剑河县| 昌图县| 玉林市| 庐江县| 天门市| 洞口县| 贵港市| 丹寨县| 阿勒泰市| 长阳| 黑水县| 丽江市| 莱阳市| 万山特区| 玉林市| 昂仁县| 龙岩市| 广河县| 镇赉县| 江北区| 杭锦旗| 图木舒克市| 韩城市| 青州市|