username = input("输入名字") userword = int(input("输入密码")) i=1 while i<=3: if username = '你好' and userword = 123: print("登录成功") else: print("登录失败")
i++
username = input("输入名字") userword = int(input("输入密码")) i=1 while i<=3: if username = '你好' and userword = 123: print("登录成功") else: print("登录失败")
i++
转载于:https://www.cnblogs.com/bigbigbird/p/11170922.html