x = int(input('x = '))
s = [pow(x, i) for i in range(int(input('N = ')))]
print(s)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
x = int(input('x = '))
s = [pow(x, i) for i in range(int(input('N = ')))]
print(s)