Draw three squares of size 100 by 100 that are 100 pixels apart on the horizontal axis. In other words, there should be a 100-pixel gap between two squares. You should draw the squares starting at the position (100, 100). This means you should position the first square at 100 on the X axis and 100 on the Y axis. Remember you need to use the equal sign ([code]=[/code]) to change the value of a variable, like the turtle's position. Write your code inside the [code]run()[/code] function so the computer can recognize it. Use the provided [code]draw_rectangle()[/code] function to draw each square.
Rajzolj 3 darab 100 pixel oldalhosszúságú négyzetet egymástól 100 pixel távolságra a vízszintes tengelyen. Más szóval, 100 pixel legyen 2 négyzet közt.. A (100, 100) pozíciótol kezdve rajzold a négyzeteket. Ez azt jelenti, hogy az első négyzet az X és Y tengelyen is 100-nál kezdődjön. Emlékezz, hogy az egyenlőségjelet ([code]=[/code]) kell használnod, hogy megváltoztasd egy változó értékét, például a teknős pozícióját. Írd a kódod a [code]run()[/code] függvénybe, hogy a számítógép értelmezni tudja.
You should draw the squares starting at the position (100, 100). This means you should position the first square at 100 on the X axis and 100 on the Y axis.
Remember you need to use the equal sign ([code]=[/code]) to change the value of a variable, like the turtle's position.
Write your code inside the [code]run()[/code] function so the computer can recognize it.
Use the provided [code]draw_rectangle()[/code] function to draw each square.
A (100, 100) pozíciótol kezdve rajzold a négyzeteket. Ez azt jelenti, hogy az első négyzet az X és Y tengelyen is 100-nál kezdődjön.
Emlékezz, hogy az egyenlőségjelet ([code]=[/code]) kell használnod, hogy megváltoztasd egy változó értékét, például a teknős pozícióját.
Írd a kódod a [code]run()[/code] függvénybe, hogy a számítógép értelmezni tudja.