Commit 89f0c508 by BellCodeEditor

save project

parent 8e586b61
Showing with 9 additions and 7 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("请输入密码:")
print("密码正确") if x==username and y==userpassword:
else: print("密码正确")
print("密码错误") break
\ No newline at end of file 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