Commit 095e5312 by BellCodeEditor

save project

parent 77e54b28
Showing with 6 additions and 2 deletions
...@@ -2,7 +2,11 @@ username="python" ...@@ -2,7 +2,11 @@ username="python"
userpasswork=".1111122" userpasswork=".1111122"
name=input("输入你的密码") name=input("输入你的密码")
passwork=input("输入你的密码")# 如果用户输入的账号、密码正确,提示登陆成功 passwork=input("输入你的密码")# 如果用户输入的账号、密码正确,提示登陆成功
if userpasswork==name: while True:
if userpasswork==name:
print("登陆成功") print("登陆成功")
else: else:
print("登陆失败") print("登陆失败")
break
print("错误,给我滚")
print("来到编程")
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