Untitled
unknown
python
a year ago
196 B
4
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