Commit 18e5c0ec by BellCodeEditor

save project

parent 7e3e271a
Showing with 16 additions and 12 deletions
i=3
user="6" user="6"
mima="1111" mima="1111"
while True: while True:
user1=input("用户名") if i>0:
mima1=input("密码") user1=input("用户名")
if user1==user and mima1==mima: mima1=input("密码")
print("登录成功") i=i-1
break if user1==user and mima1==mima:
elif user1!=user: print("登录成功")
print("用户名错误") break
else: elif user1!=user:
mima1!=mima print("用户名错误")
print("密码错误") else:
mima1!=mima
print("密码错误")
if i==0:
print("账户冻结")
print("欢迎登录") print("欢迎登录")
\ 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