Commit fe34c41f by BellCodeEditor

save project

parent d59b810c
Showing with 8 additions and 5 deletions
...@@ -6,8 +6,10 @@ a=input("账号:") ...@@ -6,8 +6,10 @@ a=input("账号:")
b=input("账号密码:") b=input("账号密码:")
print(a) print(a)
print(b) print(b)
# 如果用户输入的账号、密码正确,提示登陆成功 # 如果用户输入的账号、密码正确,提示登陆成功
if a == username and b == userpassword: while True:
print("登录成功!") if a == username and b == userpassword:
else: print("登陆成功")
print("错误") break
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