📜  python如何绘制三角形 - Python代码示例

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

代码示例1
import turtle
 

 
turtle.forward(100) # draw base
 
turtle.left(120)
turtle.forward(100)
 
turtle.left(120)
turtle.forward(100)
 
turtle.done()