#Palindrome of input
#Darren Bellew
#Lab 3

@@ -36,8 +36,270 @@
 %0A#Lab 3%0A
+%0A%0Adef palindrome(word):%0A  if(word%5B::-1%5D == word):%0A    return True%0A  return False%0A%0A%0AuserInput = raw_input(%22Please input string to be tested: %22)%0Aif palindrome(userInput):%0A  print(userInput + %22 is a palindrome.%22)%0Aelse:%0A  print(userInput + %22 is not a palindrome.%22)%0A%0A

Made the palindrome method