Computer Science, asked by kiruthikasundar217, 5 months ago

write a python function to find the reverse of the given number passed argument ​

Answers

Answered by sainiharman020
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 sushreetha
0

Explanation:

throoooogi

padikra?

Similar questions