Commit bccd4926 by BellCodeEditor

save project

parent 07858a54
Showing with 32 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧
import turtle #导入turtle
a=turtle.Pen()
a.write("\n\n\n床前明月光,\n疑是地上霜。\n举头望明月,\n低头思故乡。",font=("STKAITI",30,"normal"))
a.hideturtle()
a=turtle.Pen()
a.fillcolor("red")
a.begin_fill()
Screen=turtle.Screen()
Screen.textinput(,)
a=int(Screen)
Screen.bgcolor("yellow")
a.pencolor("red")
a.right(-45)
a.forward(100)
a.circle(50,180)
a.right(90)
a.circle(50,180)
a.forward(100)
a.hideturtle()
a.end_fill()
turtle.done()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment