input
while
if
# -*- coding:utf-8 -*-
flag = 0
while flag == 0 :
username = input('请输入用户名:\n')
password = input('请输入密码\n')
if username == 'ps' and password =='ps':
print('成功!')
flag = 1
else:
print('输入不正确,请重新输入!')