Commit d642c787 by BellCodeEditor

save project

parent 2aa7375e
Showing with 17 additions and 4 deletions
......@@ -24,8 +24,5 @@ def circle(len,x,y):
pen.circle(len/2,180)
pen.forward(len)
pen.end_fill()
circle(20,0,0)
circle(30,0,0)
circle(40,0,0)
circle(50,0,0)
circle(int(screen.textinput("提示","你想要多大的爱心呀?")),0,0)
turtle.done()
\ No newline at end of file
import turtle
screen = turtle.Screen()
screen.textinput("运算框","1+1=?")
screen.textinput("运算框","1+2=?")
screen.textinput("运算框","1+129=?")
screen.textinput("运算框","1*1=?")
screen.textinput("运算框","121*123=?")
screen.textinput("运算框","1*190=?")
screen.textinput("运算框","1.5*1.5=?")
screen.textinput("运算框","1/1=?")
screen.textinput("运算框","1?1=0")
screen.textinput("运算框","1234?11234=0.129")
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