write a python function to find the reverse of the given number passed argument
Answers
Answered by
2
- num = int(input("Enter the number: "))
- revr_num = 0 # initial value is 0. It will hold the reversed number.
- def recur_reverse(num):
- global revr_num # We can use it out of the function.
- if (num > 0):
- Reminder = num % 10.
- revr_num = (revr_num * 10) + Reminder.
- recur_reverse(num // 10)
HOPE IT HELPS U ✌...
Answered by
0
Explanation:
throoooogi
padikra?
Similar questions
Political Science,
2 months ago
Science,
2 months ago
Social Sciences,
5 months ago
Science,
5 months ago
English,
11 months ago
Math,
11 months ago
Chemistry,
11 months ago