Palindrome

  1. Make a function that takes in a string and returns if it is a palindrome (true/false).

Examples: palindrome("thanks") -> false palindrome("rAcecar") -> true

  1. Then ignore spaces. Example: palindrome("dammit im mad") -> true palindrome("this is totally a palindrome") -> false

Black Diamond

Ignore punctuation.