while 3>2: a=(input("输入账号")) b=(input("输入密码")) print(f''' #f格式化方式 你的账号是:{a} 你的密码是:{b} ''') print(''' #%s占位符格式化 你的账号是:%s 你的密码是:%s '''%(a,b))