Masala #93BPSAET9F

Xotira 32 MB Vaqt 1000 ms
14

Powers of 2

Complete the function that takes a non-negative integer n as input, and returns a list of all the powers of 2 with the exponent ranging from 0 to n ( inclusive ).


Kiruvchi ma'lumotlar:

Chiquvchi ma'lumotlar:

Misollar
# input.txt output.txt
1
0
1
2
2
1 2 4