画半圆
import turtleturtle.pencolor("red")
turtle.pensize(33)
turtle.circle(120,180)
本帖最后由 逃兵 于 2021-7-14 14:25 编辑
import turtle
turtle.pencolor("red")
turtle.pensize(33)
turtle.pu()#抬起笔
turtle.goto(120,0) #挪到坐标120,0
turtle.pd()#落下笔
turtle.seth(90) #方向朝北(上)
turtle.circle(120,180)
逃兵 发表于 2021-7-14 14:17
谢谢
页:
[1]