![]() |
Python
1.0
|
Checking for palindromes. More...
Functions | |
def | palindrome (str) |
Checks whether a string is a palindrome. More... | |
def | main () |
Checking for palindromes.
Examples:
def _06a_palindroma.main | ( | ) |
References _01d_dec2bin.input, palindrome(), and validateRoman.raw_input.
def _06a_palindroma.palindrome | ( | str | ) |
Checks whether a string is a palindrome.
A palindrome is a word or phrase which is the same when spelt in reverse.
str | given string. |
Referenced by main().