Submit | All submissions | Best solutions | Back to list |
FIZBBZIF - simple palindromes |
A palindrome is a word or phrase which is the same backwards and forwards. Capitalisation and punctuation don't count.
Input
A list of words or phrases one at a time
Output
Each word, followed by " is a palindrome" or " is not a palindrome"
Example
Input: dad
Hannah
A man, a plan, a canal, Panama! Output: dad is a palindrome
Hannah is a palindrome
A man, a plan, a canal, Panama! is a palindrome
Added by: | handee |
Date: | 2021-06-01 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: NCSHARP JULIA PYPY3 |