Commit e47403a3 by BellCodeEditor

save project

parent 25825fd4
Showing with 10 additions and 7 deletions
a='qwertyuiop'
b=123456
a="qwertyuiop"
b='1234567890'
while True:
name=imput("请输入用户名:")
vbnm=imput('请输入密码:')
if name==a and vbnm==b:
name=input("请输入用户名:")
vbnm=input('请输入密码:')
if a==name and b==vbnm:
print("欢迎使用!")
break
if name != a:
if a != name:
print('用户名错误,请重新输入:')
continue
if vbnm != b:
if b != vbnm:
print('密码错误,请重新输入:')
else:
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