A palindrome is a word that has the same letters both forward and backward, like "reviver".
Write a function that is passed a string and returns True
if the string is a palindrome. You must use a loop.
Examples:
isPalindrome("mitchell")
returns False
isPalindrome("tacocat")
returns True
©2017 Graham Mitchell