跳到主要内容

Lesson 13: Read the colours

English

Colours carry messages

  • A colour on the floor can be a message for the robot: a parcel label, a road sign, a place to stop.
  • down_eye.detect(RED) is True while the robot stands on red. It knows RED, GREEN, BLUE and BLACK.
  • The eye only sees the floor under the robot now. To use a colour later, keep it in a variable.

Words for this lesson

Word Meaning
label a small sign on a parcel that says where it goes
bay a marked place where a robot puts things down
variable a name that remembers a value, like colour = "red"
sign a picture or colour that tells you what to do
arrive get to the place you wanted to go to

登录或创建账户

IGCSE, A-Level & AP