Is it a Palindrome?

Definition

A palindrome is a word, number, phrase, or other sequence of symbols that reads the same backwards as forwards. (Wikipedia)

Project #1

Create an interactive program to test for palindromes. Use either string indices or string slices.

  1. ask the user to input a string
  2. test if it is a palindrome
  3. display pertinent information
  4. loop

Better yet, allow the user to select if the want to use string indices or string slices.

Design Questions:

Project #2

Process a text file, book, ... and find all of the unique palindromes in it. Display the count and the palindromes.

Links

37 English Palindromes

List of English palindromic phrases (Wikipedia)

How To Index and Slice Strings in Python 3