Commit 476df1dc by BellCodeEditor

save project

parent 654bc3ba
Showing with 23 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
#设置背景颜色
A = turtle.Screen()
A.bgcolor("pink")
#移动写字位置
f = turtle.Pen()
f.penup()
f.goto(100,-100)
f.write("你好呀!\n诺依",font = ("Times",20,"normal"))
f.hideturtle()
p = turtle.Pen()
p.pensize(5)
p.color("red")
p.left(45)
p.forward(100)
p.circle(50,180)
p.right(90)
p.circle(50,180)
p.forward(100)
turtle.done()
\ No newline at end of file
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