摘要:
import turtle turtle.color ("red","yellow") turtle.begin_fill () while True: turtle.forward(100) turtle.right(120) if abs(turtle.pos())<1: break turtl 阅读全文
摘要:
# coding:utf-8 import turtle as t t.screensize(400, 300, "blue") t.pensize(4) # 设置画笔的大小 t.colormode(255) # 设置GBK颜色范围为0-255 t.color((255,155,192),"pink 阅读全文
摘要:
import turtle turtle.fillcolor("red") turtle.begin_fill() while True: turtle.forward(220) turtle.right(144) if abs(turtle.pos()) < 1: break turtle.fd( 阅读全文