#unfinished def halve(iteratations): half = 1 n = 1/2 for x in range(0,iteratations): n = n/2 half = half return 1 + n print(halve(0))