Commit 231b514e by BellCodeEditor

save project

parent 360516fb
Showing with 6 additions and 3 deletions
...@@ -3,8 +3,11 @@ userpassword="123456" ...@@ -3,8 +3,11 @@ userpassword="123456"
while True: while True:
name=input("请输入账号名:") name=input("请输入账号名:")
password=input("请输入密码:") password=input("请输入密码:")
if name==username and password==userpassword: if name==username and password==userpassword :
print("输入成功") print("输入成功")
break break
print("你的账号和密码输入错误") if name!=username:
print("欢迎来到u撒谎段首") print("你的账号输入错误")
if password!=userpassword:
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