题解 | #找到HR#
找到HR
http://www.nowcoder.com/practice/bfd85733e4de4d1da8d756712e289dac
users_list = ['Niuniu', 'Niumei', 'HR', 'Niu Ke Le', 'GURR', 'LOLO' ] for user_name in users_list: if user_name == 'HR': print('Hi, HR! Would you like to hire someone?') else: print( 'Hi, {}! Welcome to Nowcoder!'.format(user_name))