Exponentation-Part A

List of exponentation terms for the given input

'


a=int(input())

b=int(input())

print("The total terms is:",a)

for a in range(0,a):

  ans=b**a

  print(ans) 

Comments