title: How to find the most similar word in a list in python
body: <p>I have a list of words</p>
  
  <pre><code>list = ['car', 'animal', 'house', 'animation']
  </code></pre>
  
  <p>and I want to compare every list item with a string <code>str1</code> and the output should be the most similar word. Example: If <code>str1</code> would be <code>anlmal</code> then <code>animal</code> is the most similar word. How can I do this in python? Usually the words I have in my list are good distinguishable from each other.</p>