Commit 9ee68b95 by BellCodeEditor

save project

parent 497dd8f4
Showing with 6 additions and 3 deletions
vsername="python"
username="python"
userpassword="12345"
while True:
name=input("请输入账号")
password=input("请输入密码")
if name ==username and password==userpassword:
print("登录成功")
break
print("账号密码错误")
if name != username:
print("请重新登录")
if password != userpassword:
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