title: Python get name in loop
body: <p>Hi guys i have multiple list with strings.
  F.e.:    </p>
  
  <pre><code>params = {
     "str1":"A Teststring which tests.",
     "str2":"Strings are awesome to test",
     "str3":"Teststring is a string that tests ",
     "str4":"String awesome test tests"
     }
  
  
  erg =[]
  allstrings = ['str1','str2','str3','str4']
  userkeywords = ['teststring','awesome','test','string']
  for str in allstrings:
      strkeywords = params[str].split()
      common = list(set(userkeywords) &amp; set(strkeywords) )
      howmuch = len(common)
      erg.append(howmuch)
  print erg
  </code></pre>
  
  <p>With this code i get how much words in the params string are the same. 
  But how can i print out the strings which have the most words in common with the userkeywords. </p>
  
  <p>Expectation:</p>
  
  <pre><code>str1 : 4
  str2: 3
  str4: 3
  </code></pre>
  
  <p>(numbers are examples)</p>
  
  <p>Anyone can help?</p>