two_power_thousand = 2 ** 1000 list_of_digits = [int(dgt) for dgt in list(str(two_power_thousand))] print(sum(list_of_digits))