Commit e47403a3 by BellCodeEditor

save project

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