Commit 89f0c508 by BellCodeEditor

save project

parent 8e586b61
Showing with 7 additions and 4 deletions
username = "python" username = "python"
userpassword = "123456" userpassword = "123456"
x=input("请输入账号:") while True:
y=input("请输入密码:") x=input("请输入账号:")
if x==username and y==userpassword: y=input("请输入密码:")
if x==username and y==userpassword:
print("密码正确") print("密码正确")
else: break
else:
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