user_name = "张三"
pass_word = int("123456")
for name in range(3):
username = input("用户姓名:")
for pas in range(3):
password = int(input("密码:"))
if user_name == username and pass_word == password:
print("欢迎您的到来")
break
elif user_name != username and pass_word == password:
print("您的用户错误")
elif user_name == username and pass_word != password:
print("您的密码错误")
else:
print("您的用户名或密码错误,请从新输入")
break