This problem demonstrates how you can write your own procedure to check answers. The procedure is embedded right in the problem. If you wanted to use it for several problems, you could put it in a file similar to "PGanswermacros.pl" and load it into the problem. See Answer Evaluators for documentation on how to write these procedures.

This problem asks you to enter a palindrome, a word, number, or phrase that is the same when read backwards or forward. For example, madam or Hannah. For us a standard palindrome will ignore spaces and case, but a strict palindrome will not. So e.g. Hannah is a standard but not a strict palindrome. We will write a test for both types. You can see the code for the test by viewing the source for this problem.

Enter a standard palindrome such as "Hannah", "1234321", or "Mom".
This uses std_palindrome_test

Now enter a strict palindrome such as "1234321", or "mom".
This uses std_palindrome_test

You can earn partial credit on this problem.