Commit 37ad63e7 by BellCodeEditor

save project

parent 228d3e98
Showing with 8 additions and 13 deletions
import turtle username = "112211331144"
screen = turtle.Screen() userpassword = "qwqeqrqtqyquqiqoqpqaqsqdqfqgqhqjqkqlqzqxqcqvqbqnqm"
pen = turtle.Pen()
len=int(screen.textinput("提问","你要多大的爱心")) name=input("请输入账号:")
lovesize=int(len) password=input("请输入密码:")
pen.left(45) if username==name and userpassword==password:
pen.forward(2*len) print("输入成功")
pen.circle(len,180) \ No newline at end of file
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
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