Write a programBasic10 XPExercise 11/16

Palindrome

Task

A palindrome is a word that reads the same forwards and backwards, for example kajak or Anna - letter case does not matter.

The program reads one word and prints je palindrom (it is a palindrome) or nie je palindrom (it is not).

Examples

  • Input

    kajak

    Expected output

    je palindrom

After you submit, 5 hidden tests will also check your solution: a capital first letter, an ordinary word, a single letter, two different letters, Rotor.

Python starts the first time you run code.

Ctrl+Enter runs the program. Tab indents. Press Esc, then Tab, to leave the editor.

Input (stdin)

Each line = one call to input().

Output

Hints

Try it yourself first. Each hint reveals a little more - and lowers the reward a little.

Signed out, hints are free - but no XP is awarded either.

Solution

The solution unlocks after the last hint.