📌  相关文章
📜  如何在 python turtle 中绘制形状正方形 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:12.873000             🧑  作者: Mango

代码示例1
#Python program to draw color filled square in turtle programming
import turtle
 
t = turtle.Turtle()
t.fillcolor('blue')
t.begin_fill()
for i in range(4):
  t.forward(150)
  t.right(90)
t.end_fill()