命令 | 说明 |
turtle. forward (distance) | 向当前画笔方向移动distance像素长度 |
turtle. right (degree) | 当前画笔方向顺时针转动degree° |
turtle. left (degree) | 当前画笔方向逆时针转动degree° |
t=turtle. Pen () #画笔初始方向为正右方
for i in range (4):
t. right (90)
t. forward (20)
t. left (90)
t. forward (20)
turtle. done ()
A.![]() | B.![]() | C.![]() | D.![]() |

同类型试题

y = sin x, x∈R, y∈[–1,1],周期为2π,函数图像以 x = (π/2) + kπ 为对称轴
y = arcsin x, x∈[–1,1], y∈[–π/2,π/2]
sin x = 0 ←→ arcsin x = 0
sin x = 1/2 ←→ arcsin x = π/6
sin x = √2/2 ←→ arcsin x = π/4
sin x = 1 ←→ arcsin x = π/2


y = sin x, x∈R, y∈[–1,1],周期为2π,函数图像以 x = (π/2) + kπ 为对称轴
y = arcsin x, x∈[–1,1], y∈[–π/2,π/2]
sin x = 0 ←→ arcsin x = 0
sin x = 1/2 ←→ arcsin x = π/6
sin x = √2/2 ←→ arcsin x = π/4
sin x = 1 ←→ arcsin x = π/2

