# write a program to reverse an integer value 54321 python
number = int(input("Enter Number : "))
reverse = 0
temp = number
while temp != 0:
last_digit = temp % 10
reverse = reverse * 10 + last_digit
temp = temp // 10
print("Reverse of Number : ", number, " is : ", reverse)
- Home-icon
- Features
- _Multi DropDown
- __DropDown 1
- __DropDown 2
- __DropDown 3
- _ShortCodes
- _SiteMap
- _Error Page
- Documentation
- _Web Documentation
- _Video Documentation
- Download This Template
- Download This Template
- AI
- _NLP
- Automation
- _Automate using Python
- Interview
- _Interview Questions
- Blog Update
- _Update Page
0 Comments