python怎么使用turtle库画一个方格和圆
1、打开python编译器,导入turtle库from turtle import *

3、顺时针旋转90度,前进100

5、抬起笔,直接到方格的中间,也就是(50,0)坐标penup()goto(50,0)

7、在圆的中心画个圆心点goto(50,50)dot()

1、打开python编译器,导入turtle库from turtle import *
3、顺时针旋转90度,前进100
5、抬起笔,直接到方格的中间,也就是(50,0)坐标penup()goto(50,0)
7、在圆的中心画个圆心点goto(50,50)dot()