bet 7/36 Sana 11.01.2022 Hajmi 5,68 Mb. #344056
Bog'liq
metodichka FS

4-savol

5-savol

6-savol

7-savol

8-savol

1-yechim:

import turtle

amy = turtle.Turtle()

amy.color("yellow")

amy.forward(100)

amy.right(90)

amy.forward(100)

amy.right(90)

amy.forward(100)

amy.right(90)

amy.forward(100)

2-yechim:

import turtle

amy = turtle.Turtle()

amy.color("red")

for sides in [1,2,3,4]:

amy.forward(100)

amy.right(90)

### 11-qism

1-savol

Ushbu metod chaqiruvlarini ular qiladigan ish bilan moslang.

(Hech bo‘lmaganda bittasi biroz hayratlanarli bo‘lishi mumkin!)

Izoh: Make a really thick line. – Chiziqni qalinlashtiradi.

Set the turtle's speed to the fastest possible. – Turtle tezligini imkon qadar oshiradi. Bunda 0 qiymat tezlikni emas, animatsiya uchun ketadigan vaqtni bildiradi, ya’ni bunda turtle holati o‘sha zumda (0 sekundda) o‘zgaradi.

Deactivate the pen so that the turtle stops drawing when moving. – Turtle chiziq chizmaydigan qiladi – ruchkasini “ko‘tadi”.

Activate the pen so that the turtle starts drawing when moving. - Turtle chiziq chizadigan qiladi – ruchkasini “tushiradi”.