Python: Find a name in a list of lists

后端 未结 0 1696
醉梦人生
醉梦人生 2021-02-05 02:33

So, I\'ve to search for a name in a list and the code has to give me all the contacts with that name. Ex: My code is:

def find_contacts(contacts = [[\'Bruno Jr\',         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题