Sep-10-2019, 11:37 AM
This is the homework board so can't give you the code, but if you look back a few posts I gave you the layout of how I would write it. It was kind of like elementary school math - multiply the first digit/list element by 2, if greater than 10 subtract 10 and carry the 1. Proceed through all the digits. Oh, and important to test with a shorter loop, like calculating 2**16 before tackling 2**(2**34).