Good4lien / Polindrom

Polydrome numbers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Palindrome

A palindrome is a word, number, phrase, or other sequence of symbols that reads the same backwards as forwards, such as the words madam or racecar, the date and time 12/21/33 12:21, and the sentence: "A man, a plan, a canal – Panama".
The word palindrome was introduced by English poet and writer Henry Peacham in 1638.

image

My python code

In Python [::-1] reversing a list. It is also possible to use negative indexing to access values of a sequence.

Code:

5

Resoult:

6

About

Polydrome numbers


Languages

Language:Python 100.0%