id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

amgreyson@gmail.com > isPalindrome
prev  |  next  |  chance

Given a word, use a recursive solution to determine if it's a palindrome. Return True if it's a palindrome or False if it's not. Return True for a zero-length word. Do not use negative skip-slicing to reverse the word. You may assume that all characters are lower case.


isPalindrome('racecar') → True
isPalindrome('bob') → True
isPalindrome('castilleja') → False

...Save, Compile, Run (ctrl-enter)

def isPalindrome(word):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Difficulty: 150

Copyright Nick Parlante 2017 - privacy