Python海龟写诗与每个宝宝都是编程娃娃啊

"""海龟写诗"""

from turtle import *
from time import sleep

ziti = ("宋体",14,"bold")
t = Turtle()  
t.pensize(5)
t.pencolor("blue")
t.setheading(90)
t.penup()

t.write("    登鹳雀楼",font=ziti)   ; sleep(2)
t.bk(50)

t.write("    作者:王之涣",font=ziti) ; sleep(2)
t.bk(50)

t.write("白日依山尽,黄河入海流。",font=ziti) ; sleep(2)
t.bk(50)

t.write("欲穷千里目,更上一层楼。",font=ziti) ; sleep(2)

from turtle import *

t = Turtle(visible = False)
t.penup()
a = '每个宝宝都是编程娃娃啊'

t.setheading(90)
for c in a:
    t.write(c,font =("黑体",22,"normal"))
    t.fd(40)
    t.rt(20)