Commit 84d90ae0 by BellCodeEditor

save project

parent f781c50c
Showing with 19 additions and 5 deletions
import turtle
screen=turtle.Screen()
screen.textinput("姓名框","你的名字:")
turtle.done()
\ No newline at end of file
import turtle
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
a=turtle.Screen()
a.bgcolor("pink")
......@@ -15,7 +13,18 @@ pen.hideturtle()
pen1=turtle.Pen()
pen1.pensize(6)
pen1.pencolor("red")
ab=50
screen=turtle.Screen()
screen=turtle.Screen()
abc=screen.textinput("大小框","你要多大爱心")
ab=int(abc)
pen1.left(45)
pen1.forward(ab*2)
pen1.circle(ab,180)
......
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