摘要:
1 import turtle as t 2 t.pencolor("black") 3 4 t.fd(200) 5 t.seth(120) 6 t.fd(200) 7 t.seth(-120) 8 t.fd(200) 9 10 t.seth(0) 11 t.fd(100) 12 t.seth(60 阅读全文
摘要:
1 import turtle 2 3 turtle.left(30) 4 turtle.forward(144) 5 6 turtle.right(60) 7 turtle.forward(144) 8 9 turtle.right(60) 10 turtle.forward(144) 11 12 阅读全文
摘要:
import turtle turtle.setup(500,500) turtle.fillcolor("red") turtle.begin_fill() for i in range(5): turtle.fd(100) turtle.right(144) turtle.end_fill() 阅读全文