题目: 编写密码验证程序,用户只有3次输入错误密码的机会。 代码: for i in range(1,4): username=input('用户名:') password=input('密码:') if username==