python看图编程序练习_简易海龟画图形

from turtle import *

screen = Screen()
screen.delay(0)
 
t = Turtle(visible=False)
t.pensize(2)
t.color("white")

t.dot(200,'green')

t.dot(50,'red')

for i in range(12):
    t.penup()
    t.fd(25)
    t.pendown()
    t.fd(75)
    t.penup()
    t.bk(100)
    t.right(30)