Commit a5217ece by BellCodeEditor

save project

parent 01899728
Showing with 6 additions and 2 deletions
...@@ -8,6 +8,9 @@ while True: ...@@ -8,6 +8,9 @@ while True:
if username==name and passward==ward: if username==name and passward==ward:
print('登录成功') print('登录成功')
break break
else: if name!=username
print('再输错就给爷gui') print('用户名再输错就给爷gui'):
if ward!=passward:
print('密码再输错就给爷gui')
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