Commit f23ebb15 by BellCodeEditor

save project

parent 995b4781
Showing with 26 additions and 10 deletions
import turtle
pen = turtle.Pen()
pen.fillcolor("red")
pen.begin_fill()
for i in range(36):
pen.forward(200)
pen.right(170)
pen.end_fill()
pen.hideturtle()
turtle.done()
i=3
username="python"
userpassword="123456"
while True:
if i>0:
a=input("输入账号:")
b=input("输入密码:")
i-=1
if a==username and b==userpassword:
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