A palindromic number is a number (such as 626) that remains the same when its digits are reversed. Write a function that returns | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

A palindromic number is a number (such as 626) that remains the same when its digits are reversed. Write a function that returns

Please help me in this.

28th Jan 2021, 6:18 AM
Rohit Kumar Bisht
Rohit Kumar Bisht - avatar
2 Answers
+ 4
It is very simple program. You may need to think more on it. Algorithm is same as your question . Take input , reverse it , if reversed number is equal to input then it's palindrome . You just need to think that how could you reverse a number . Reversing no is easy only if you know proper work of modules % and / operator . We can't directly solved your question without seeing your attempt.
28th Jan 2021, 9:23 AM
Hrutik Bhalerao
Hrutik Bhalerao - avatar
+ 2
Sure we will help ,Post your attempt first so that we can help ...
28th Jan 2021, 6:19 AM
Alphin K Sajan
Alphin K Sajan - avatar