'''
@author:LaoGu
@time:2021/6/14
@fuction:实现用户从键盘输入用户名和密码
'''
for i in range(1,7):
xh = input("请输入学号:")
mm = input("请输入密码:")
if xh == "2020125199" and mm =="123456":
print("欢迎'法外狂徒':张三")
break
else:
print("密码错误,您还有{}次机会,请重新输入:".format(6-i))
if i == 6:
print("抱歉!无法登录!")