Commit 7485c4bb by BellCodeEditor

save project

parent 9acdf46f
Showing with 15 additions and 0 deletions
name="123"
word="321"
while True:
name1=input("请输入用户名:")
word1=input("请输入密码:")
if name==name1 and word==word1:
break
if name!=name1:
print("用户名错误")
continue
if word!=word1:
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