Check for a palindrome number - Python Mathematics Project 10

preview_player
Показать описание
Let's write a program to check for a palindrome number. A palindrome number is a number that gives the same value when we read it from the left or from the right. We can pick up the digits from the right hand side using modulus operation. Then we pack the digits from the left in order. If we can get back the original number, then the number is a palindrome.

You'll learn most by trying my code while watching the video.

Basic Python Fast

Playlist of my Python mathematics projects

Playlist of my Python examples
Рекомендации по теме