摘要:
import turtle as t t.color("black", "red") t.begin_fill() t.pu() t.fd(-200) t.pd() t.seth(30) t.fd(300) t.seth(-90) t.fd(300) t.seth(150) t.fd(300) t. 阅读全文
posted @ 2020-09-15 17:12
我的人生不止一部戏
阅读(439)
评论(0)
推荐(0)
摘要:
import turtle as tt import time tt.fillcolor('red') tt.begin_fill() for _ in range(3): tt.forward(100) if abs(tt.pos())<1: break tt.right(120) tt.righ 阅读全文
posted @ 2020-09-15 16:54
我的人生不止一部戏
阅读(343)
评论(0)
推荐(0)
摘要:
import turtle as t t.fillcolor("red") #颜色填充函数 t.begin_fill() while True: t.forward(200) #画笔向前画200像素 t.right(144) #画笔方向右转144° if abs(t.pos()) < 1:#看画笔是 阅读全文
posted @ 2020-09-15 16:37
我的人生不止一部戏
阅读(529)
评论(0)
推荐(0)

浙公网安备 33010602011771号