18
84
1819
金牌会员
使用道具 举报
import turtle turtle.title("太极图") turtle.screensize(bg='black') turtle.speed(10) turtle.pensize(2) turtle.fillcolor('yellow') turtle.begin_fill() turtle.penup() turtle.goto(-150,-150) turtle.pendown() for r in range(4): turtle.forward(300) turtle.left(90) turtle.end_fill() turtle.penup() turtle.goto(00,-100) turtle.pendown() turtle.circle(100,360) turtle.penup() turtle.goto(0,0) turtle.pendown() turtle.circle(50,180) turtle.penup() turtle.goto(00,-100) turtle.done()
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|东台市机器人学会 ( 苏ICP备2021035350号-1;苏ICP备2021035350号-2;苏ICP备2021035350号-3 )
GMT+8, 2024-5-19 04:56 , Processed in 0.044791 second(s), 28 queries .
Powered by Discuz! X3.4
Copyright © 2001-2020, Tencent Cloud.