Python Workshops for Beginners/Saturday September 27th homework: Difference between revisions

imported>Ynasser
imported>Ynasser
Line 83:
'''Exercise 4'''
 
Search through the scrabble wordlist for all words that are palindromes (i.e. the same forwards and backwards).
Find
 
As a hint, remember that you can reverse strings and lists using the "slice" syntax:
<pre>
>>> word = "pokemon"
>>> word[::-1]
"nomekop"
</pre>
Anonymous user