title: how to find mutual friend code in python
body: <p>Hi this function is supposed to find the mutual friends of a person through two people having mutual friends. I've been stuck on this and need help! thank you</p>
  
  <p>def get_friends_of_friends(person_to_friends: Dict[str, List[str]], \
                             person: str) -> List[str]:</p>
  
  <pre><code>"""
  &gt;&gt;&gt; get_friends_of_friends({'Izuku Midoriya': ['Jotaru Kujo', 'Joseph Joestar', 'Gyro Zeppeli'], 'Jotaro Kujo': ['Gyro Zeppeli', 'Joseph Joestar']}, 'Izuku Midoriya')
  
      ['Joseph Joestar', 'Gyro Zeppeli']
  """
  
  friend = []
  
  for key in person_to_friends:
      if key == person:
          person_to_friend.append(key)
  
  return friend
  </code></pre>