title: How to Look inside a Dict/List and get the position and a bool
body: <p>I want to know If there is anyway when someone enters, let's say '070718604545'. It Looks it up and if it's there it prints others in the list, Example below</p>
  <pre><code>Patt = [
                  {'Phone': &quot;0718604545&quot;, 'Name': &quot;Tom&quot;, 'Age': '2007'}
                  {'Phone': &quot;0718123567&quot;, 'Name': &quot;Katy&quot;, 'Age': '1998'}
                  {'Phone': &quot;0718604578&quot;, 'Name': &quot;BillyW&quot;, 'Age': '1970'}
                   ....
                   ....
                   ....
                   ....
                  {'Phone': &quot;0714565778&quot;, 'Name': &quot;Sony&quot;, 'Age': '1973'}
              ]
  </code></pre>
  <p>He will enter '0718604545' as exmaple.</p>
  <pre><code>x = input(&quot;Enter Phone&quot;)
  Search for x in Patt[Phone]:
     name = Patt[Name] where Phone = x
     print(name)
  </code></pre>
  <p>So the answer should be Tom.</p>
  <p>Thanks,</p>