Commit 8fb0afd7 by BellCodeEditor

save project

parent 004ff42f
Showing with 6 additions and 3 deletions
...@@ -2,5 +2,8 @@ name= 'python' ...@@ -2,5 +2,8 @@ name= 'python'
password= '123456' password= '123456'
username = input("请输入账号:") username = input("请输入账号:")
userpassword = input("请输入密码:") userpassword = input("请输入密码:")
if name==username and password==userpassword: while True:
print("用户密码正确,登陆成功!") if name==username and password==userpassword:
\ No newline at end of file print("用户密码正确,登陆成功!")
break
print("您好,您的账号yiyi")
\ 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