Commit b6bfa880 by BellCodeEditor

save project

parent 2b4a3e14
Showing with 3 additions and 4 deletions
username="ltg" username="ltg"
userpassword="20131203" userpassword="20131203"
while True: while True:
neme=input("请输入用户名") name=input("请输入用户名")
password=input('请输入密码') password=input('请输入密码')
if name==username and password==userpassword: if name==username and password==userpassword:
print("登录成功") print("登录成功")
break break
if name!=username: elif name!=username:
print("请重新输入用户名") print("请重新输入用户名")
continue else:
if password!=userpassword:
print("请重新输入密码") print("请重新输入密码")
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