← Back to challenges

Meme Sum :)

PythonHardnumbersmath

Instructions

For this challenge, forget how to add two numbers together. The best explanation on what to do for this function is this meme:

Alternative Text

Examples

meme_sum(26, 39) ➞ 515
# 2+3 = 5, 6+9 = 15
# 26 + 39 = 515

meme_sum(122, 81) ➞ 1103
# 1+0 = 1, 2+8 = 10, 2+1 = 3
# 122 + 81 = 1103

meme_sum(1222, 30277) ➞ 31499

Notes

N/A

python3
Loading editor…
to run
Walks through the solution with reasoning and edge cases.