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.
Nakreslete na vodorovnou osu tři čtverce o rozměrech 100 x 100, které jsou od sebe vzdáleny 100 pixelů. Jinými slovy, mezi dvěma čtverci by měla být mezera 100 pixelů. Čtverce byste měli nakreslit od pozice (100, 100). To znamená, že první čtverec byste měli umístit na pozici 100 na ose X a 100 na ose Y. Nezapomeňte, že pro změnu hodnoty proměnné, například polohy želvy, musíte použít znaménko rovnosti ([code]=[/code]). Napište svůj kód uvnitř funkce [code]run()[/code], aby jej počítač rozpoznal.
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.
Čtverce byste měli nakreslit od pozice (100, 100). To znamená, že první čtverec byste měli umístit na pozici 100 na ose X a 100 na ose Y.
Nezapomeňte, že pro změnu hodnoty proměnné, například polohy želvy, musíte použít znaménko rovnosti ([code]=[/code]).
Napište svůj kód uvnitř funkce [code]run()[/code], aby jej počítač rozpoznal.