春联
from turtle import *penup()
goto(-200,-300)
pendown()
color("red")
begin_fill()
for i in range(2):
fd(50)
lt(90)
fd(400)
lt(90)
end_fill()
color("black")
write("春\n江\n潮\n水\n连\n海\n平",font=("华文楷体",38))
penup()
goto(150,-300)
pendown()
color("red")
begin_fill()
for i in range(2):
fd(50)
lt(90)
fd(400)
lt(90)
end_fill()
color("black")
write("海\n上\n明\n月\n共\n潮\n生",font=("华文楷体",38))
penup()
goto(-100,150)
pendown()
color("red")
begin_fill()
for i in range(2):
fd(200)
lt(90)
fd(50)
lt(90)
end_fill()
color("black")
write("新春快乐",font=("华文楷体",38))
页:
[1]