6 lines
192 B
Python
6 lines
192 B
Python
|
def reverse_sum(n1, n2):
|
||
|
return int(str(int(str(n1)[::-1]) + int(str(n2)[::-1]))[::-1])
|
||
|
|
||
|
print(reverse_sum(13, 14))
|
||
|
print(reverse_sum(130, 1))
|
||
|
print(reverse_sum(305, 794))
|