Name = "shangzb"
password = 43
while True:
  _Name = input("Name:")
  if _Name == Name:
    print ("用户名正确!!!")
    break
  else:
    print ("用户名错误!!!")
    continue
while True:
  _password = int (input("password:"))
  if _password == password:
    print ("密码正确!!!")
    break
  else:
    print ("密码错误!!!")
    continue
print("用户名及密码正确,进入下一环节!!!")

posted on 2019-01-22 21:54  机器人华莱士  阅读(162)  评论(0编辑  收藏  举报