title: Compare strings in python
body: <p>How to compare two strings and list of character values</p>
  
  <pre><code>l=['s','t','a','k','','o','v','e','r']
  s='stack over'
  </code></pre>
  
  <p>how to compare the content(list and s).
  if both are equal it has to return 'zero' if one is greater than other then return positive one is lesser than other then negative value 
  I want to compare above list 'l' and string 's'
  please tell me the how to do it with python code..</p>