Lompat ke konten

Lesson 5: Colours and fills

English

Colour the pen

  • pencolor("red") changes the line colour.
  • fillcolor("yellow") sets the colour inside a shape.
  • Draw the shape between begin_fill() and end_fill() to colour it in.

Words for this lesson

Word Meaning
pen colour the colour of the lines
fill colour the inside of a closed shape
list many values in one variable: ["red", "blue"]

Masuk atau buat akun

IGCSE, A-Level & AP