about | help | code help+videos | done | prefs |
A palindrome is a word or phrase that reads the same forward or backward. Only the letters count (not any spaces or punctuation), and a lowercase letter matches an uppercase one. So "Race car!" is a palindrome. Write the function is_palindrome that returns True only for strings that are palindromes. is_palindrome('radar') → True is_palindrome('Radar!!') → True is_palindrome('radio') → False ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 230 Post-solution available
Copyright Nick Parlante 2017 - privacy