Commit c19c0e1c by BellCodeEditor

save project

parent 5e0ca4cd
Showing with 4 additions and 2 deletions
z="123456" z="123456"
m="799720" m="799720"
a=input("请输入用户名")
s=input("请输入密码")
while True: while True:
a=input("请输入用户名")
s=input("请输入密码")
if a == z and s == m: if a == z and s == m:
print("成功") print("成功")
break break
if a!=z : if a!=z :
print("用户名不存在,请重新输入") print("用户名不存在,请重新输入")
continue
if s!=m: if s!=m:
print("密码错误,请重新输入") 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