c=1 while c <= 3: a = input("请输入用户") b = input("请输入密码") if a=='alex' and b=='alex3714': print('欢迎') break else: print('用户名或密码错误') c = c + 1