title: Python Making two string correlate to each other
body: <p>I am trying to make it so say if the two strings are <code>&quot;Danny&quot;</code> and <code>&quot;DeVito&quot;</code> And if you do something, like if you search for <code>&quot;Danny&quot;</code> then it will return <code>&quot;Danny&quot;</code> and <code>&quot;DeVito&quot;</code> and vise-versa. I thought about dictionaries, but I'm not sure how to use those.</p>
  <h2>EDIT: Extra info</h2>
  <p>I was also wondering if there was a way to search in all of the pairs and see if a string is in it. Hope this makes sense.</p>