Commit 266f685f by BellCodeEditor

save project

parent bd3876bb
Showing with 10 additions and 6 deletions
vsername="python" vsername="python"
userpassword="12345" userpassword="12345"
name=input("请输入账号") while True:
password=input("请输入密码") name=input("请输入账号")
if name ==username and password==userpassword: password=input("请输入密码")
if name ==username and password==userpassword:
print("登录成功") print("登录成功")
else: break
print("登录失败") print("账号密码错误")
\ No newline at end of file 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