n=0
while sum(set([(2^a) for a in range(n)]))<10^6:
n+=1
print('2^'+str(n))
Copyright © 2024 ELIBRARY.TIPS - All rights reserved.
Lista de comentários
n=0
while sum(set([(2^a) for a in range(n)]))<10^6:
n+=1
print('2^'+str(n))