Commit f95be5cc by BellCodeEditor

save project

parent 90df092f
Showing with 6 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
t=turtle
a=int(input("请输入大小"))
t.bgcolor("lightblue")
t.penup()
t.goto(100,-100)
......@@ -13,9 +14,9 @@ t.goto(0,0)
t.pendown()
t.pencolor("red")
t.left(45)
t.forward(100)
t.circle(50,180)
t.forward(2*a)
t.circle(a,180)
t.left(-90)
t.circle(50,180)
t.forward(100)
t.circle(a,180)
t.forward(2*a)
t.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