Commit b3597a9f by BellCodeEditor

save project

parent 3ca49ad6
Showing with 7 additions and 4 deletions
...@@ -6,6 +6,9 @@ while True: ...@@ -6,6 +6,9 @@ while True:
if username==name and userpassword==password : if username==name and userpassword==password :
print("登陆成功") print("登陆成功")
break break
print("错误,重新输陆") if name!=username:
print("欢迎") print("用户错误")
# 如果用户输入的账号、密码正确,提示登陆成功 if password!=usepassword:
\ No newline at end of file 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