Untitled
Anonymous
python
05/29/2024 5:22 AM
264 B
18
Indexable
if __name__ == '__main__':
n = int(input('Podaj liczbę: '))
potega = 1
for _ in range(n):
if potega > n:
break
print(potega)
potega *= 2
Editor is loading...
Leave a Comment