Commit 8fced94c by BellCodeEditor

save project

parent 4743a1d4
Showing with 14 additions and 9 deletions
......@@ -4,9 +4,9 @@ screen=turtle.Screen()
screen.bgcolor("light blue")
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen()
pen.write("你好\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n——悟空.",font=("Times",30,"normal"))
pen.hideturtle()
# pen=turtle.Pen()
# pen.write("你好\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n——悟空.",font=("Times",30,"normal"))
# pen.hideturtle()
len=60
pen.penup()
pen.goto(100,100)
......
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen()
\ No newline at end of file
pen=turtle.Pen()
# screen.bgcolor("light blue")
# len=screen.textinput("100","100")
# len=int(len)
# pen=turtle.Pen()
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
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