Commit 7cdd188d by BellCodeEditor

save project

parent 1fb4dfc0
Showing with 8 additions and 4 deletions
import turtle import turtle
sb=int(input('输入数值:')) turtle.speed(0)
sb=int(turtle.textinput('提示','你要多大的爱心:'))
turtle.pu()
turtle.goto(0,-75)
turtle.pd()
turtle.pencolor('red') turtle.pencolor('red')
turtle.fillcolor('red') turtle.fillcolor('red')
turtle.begin_fill() turtle.begin_fill()
...@@ -13,9 +17,8 @@ turtle.hideturtle() ...@@ -13,9 +17,8 @@ turtle.hideturtle()
turtle.end_fill() turtle.end_fill()
turtle.pencolor('black') turtle.pencolor('black')
turtle.pu() turtle.pu()
turtle.goto(50,-50) turtle.goto(100,-100)
turtle.pd() turtle.pd()
turtle.write('诺依,我日你仙人!',font=('黑体',20,'normal')) turtle.write('诺依,我日你仙人!',font=('黑体',20,'normal'))
turtle.bgcolor('grey') turtle.bgcolor('green')
turtle.textinput('提示','你要多大的爱心:')
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