标签:col rtl bsp rgb rgba black turtle pre div
#1
from turtle import* pensize(8) color("black") up() goto(50,0) down() circle(100) color("blue") up() goto(-170,0) down() circle(100) color("red") up() goto(270,0) down() circle(100) color("green") up() goto(160,-120) down() circle(100) color("yellow") up() goto(-60,-120) down() circle(100) hideturtle() done()
#2 a=(50,-170,270,160,-60) b=(0,0,0,-120,-120) c=("black","blue","red","green","yellow") from turtle import* pensize(8) for i in range(5): color(c[i]) up() goto(a[i],b[i]) down() circle(100) hideturtle() done()
标签:col rtl bsp rgb rgba black turtle pre div
原文地址:https://www.cnblogs.com/aclinnn/p/14019098.html