Commit 75ff7f17 by BellCodeEditor

save project

parent 0ba611c6
Showing with 6 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
ss=input("ss") ss=12222
h=turtle.Screen() h=turtle.Screen()
h.bgcolor("light blue") h.bgcolor("light blue")
p=turtle.Pen() p=turtle.Pen()
...@@ -11,9 +11,9 @@ p.write("SB",font=("Times",90,"normal")) ...@@ -11,9 +11,9 @@ p.write("SB",font=("Times",90,"normal"))
p1=turtle.Pen() p1=turtle.Pen()
p1.pencolor("red") p1.pencolor("red")
p1.left(45) p1.left(45)
p1.forward(100) p1.forward(ss)
p1.circle(50,180) p1.circle(ss*2,180)
p1.right(90) p1.right(90)
p1.circle(50,180) p1.circle(ss*2,180)
p1.forward(100) p1.forward(ss)
turtle.done() 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