Commit 0b8a632c by BellCodeEditor

save project

parent 8ab987d3
Showing with 17 additions and 0 deletions
username='SANS'
upassworserd='114514'
while True:
name=input("输入用户名")
mima=input("输入密码")
if name==username and mima==upassworserd:
print("成功登陆")
break
if name!=username:
print("账号错误")
continue
if mima!=upassworserd:
print("密码错误")
print("密码或账号输入错误,请重新输入")
print("444")
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