Solution to ADDREV in Python

4.0M, 1.13s