练习__米字图

0

import turtle

cs=['black','red','pink','yellow','green','orange','gray','lime']

turtle.pensize(2)
turtle.bgcolor('cyan')
for x in range(8):
    c=cs[x]
    turtle.color(c)    
    turtle.fd(100)
    turtle.bk(100)
    turtle.lt(45)

0

发表评论