import sys users_list=['Niuniu','Niumei','HR','Niu Ke Le','GURR','LOLO'] for i in users_list: if i == 'HR': print('Hi, HR! Would you like to hire someone?') else: print('Hi, {}! Welcome to Nowcoder!'.format(i))