title: Compare lists & get match percentage of each element
body: <p>I have two python lists.</p>
  <pre><code>A= ['today is sunday', 'today is wednesday']
  B= ['today is sunday', 'today is 
       Monday'....'today is Saturday']
  
   For elm in A:
       If elm in B:
          print (&quot;not ok&quot;)
        else:
          print (&quot;ok&quot;)
  </code></pre>
  <p>I would like to calculate the percentage of matches of elements between two python lists.</p>
  <p>The required match percentage calculations are depicted in the image:</p>
  <p><a href="https://i.stack.imgur.com/hxOcw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hxOcw.jpg" alt="enter image description here" /></a></p>