题解 | #找到HR#
找到HR
https://www.nowcoder.com/practice/bfd85733e4de4d1da8d756712e289dac
users_list=['Niuniu','Niumei','HR','Niu Ke Le','GURR','LOLO'] for x in users_list:#for遍历 if x=='HR':#if条件语句 print('Hi, HR! Would you like to hire someone?') else: print( 'Hi, %s! Welcome to Nowcoder!'%x)#格式化输出