Commit ea4361f9 by BellCodeEditor

save project

parent c9317250
Showing with 7 additions and 10 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
dir=100
SB=turtle.Pen() SB=turtle.Pen()
s = turtle.Screen() s = turtle.Screen()
s.bgcolor("yellow") s.bgcolor("yellow")
...@@ -9,14 +10,9 @@ SB.write("857857\n857857\n857857",font=("times",70,"normal")) ...@@ -9,14 +10,9 @@ SB.write("857857\n857857\n857857",font=("times",70,"normal"))
SB.hideturtle() SB.hideturtle()
sb1=turtle.Pen() sb1=turtle.Pen()
sb1.left(45) sb1.left(45)
sb1.forward(100) sb1.forward(2*dir)
sb1.circle(50,180) sb1.circle(dir,180)
sb1.right(90) sb1.right(90)
sb1.circle(50,180) sb1.circle(dir,180)
sb1.forward(100) sb1.forward(2*dir)
turtle.done()
\ No newline at end of file
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