Commit f23ebb15 by BellCodeEditor

save project

parent 995b4781
Showing with 26 additions and 10 deletions
import turtle i=3
pen = turtle.Pen() username="python"
pen.fillcolor("red") userpassword="123456"
pen.begin_fill() while True:
for i in range(36): if i>0:
pen.forward(200) a=input("输入账号:")
pen.right(170) b=input("输入密码:")
pen.end_fill() i-=1
pen.hideturtle() if a==username and b==userpassword:
turtle.done() print("输入成功")
if a!=username:
print("请重新输入账号")
print("温馨提示,您还有"+str(i)+"次登录机会")
continue
if b!=userpassword:
print("请重新输入密码")
print("温馨提示,您还有"+str(i)+"次登录机会")
else:
print("挂A挂A 不着急吃口药")
exit()
print("欢迎来到祖安")
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