Commit f58c4e19 by BellCodeEditor

save project

parent 1185a544
Showing with 2 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
import random
len=[100,50,150]
a=random.choice(len)
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("#0000FF") screen.bgcolor("#0000FF")
a=screen.textinput("哈哈","输入爱心的大小:")
a=float(a)
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,0) pen.goto(100,0)
......
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