Write a Python function to compute the sum of the two reversed numbers and display the sum in reversed form.


Topic: Write a Python function to compute the sum of the two reversed numbers and display the sum in reversed form.

Solution

def reverse_sum(n1, n2):
    return int(str(int(str(n1)[::-1]) + int(str(n2)[::-1]))[::-1])



List all Python Programs