title: How to test if a list of strings are palindromes using list comprehension or slicing?
body: <p>I am trying to test if a list of strings are palindromes using list comprehension or slicing. I converted <code>str1</code> to list using <code>word_list=str1.split()</code>. However, the palindrome test,</p>
  
  <pre><code>word=[w for w in word_list if w[0:9:1]==w[0:9:1][::-1]]
  </code></pre>
  
  <p>works for only the first word. Since the words have different lengths, I am wondering if there are concise way of writing the code without using common loops?</p>
  
  <pre><code>str1='avallava si padre emirime'
  </code></pre>