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
[ Ссылка ]
Ещё видео!