Bỏ qua nội dung

Lesson 20: Warehouse mission

English

The warehouse mission

  • The warehouse robot has a big job, and it needs all your skills: follow the tape, find the door, count the parcels.
  • The routes and the number of parcels are different on every map, so the robot must use its sensors all the way.
  • You build the program from functions: one function for each job.

Words for this lesson

Word Meaning
mission an important job with several parts
function a named block of code: def follow_tape():
call run a function: follow_tape()
return send a value back from a function

Đăng nhập hoặc tạo tài khoản

IGCSE, A-Level & AP