📜  与 python turtle 一起玩乐和学习 - Python 代码示例

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

代码示例2
import turtle
#creating a square with turtle
t = turtle.Turtle()
t.forward(100)
t.color('blue')
t.right(90)
t.forward(100)
t.right(90)
t.forward(100)
t.right(90)
t.forward(100)