How to write a program to reverse a number using while loop in python

Published --