Commit f4e4f579 by BellCodeEditor

save project

parent fed6071f
Showing with 22 additions and 19 deletions
import turtle i=3
pen=turtle.Pen() user="ye"
pw=123456
while True:
pen.pensize(5) if i<=0:
pen.pencolor("pink") a=input("请输入账号")
pen.left(45) b=int(input("请输入密码"))
pen.forward(100) i-=1
pen.circle(50,180) if user==a:
pen.right(90) if pw==b:
pen.circle(50,180) print("嗯~~~~")
pen.forward(100) break
pen.penup() else:
pen.goto(100,0) print("密码错误")
pen.write("hi,nuo yi, 我想为你吟一首四季诗",font=("Times",30,"normal")) elif pw!=b:
print("账号密码错误")
pen.hideturtle() else:
turtle.done() print("账号错误")
\ No newline at end of file else:
print("你被封号了")
exit()
print("计算机还有5秒爆炸")
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