Write a program to find the Exponentiation of given number.

```
Input 1: Base
Input 2: Number of inputs
Output:
List of Exponentiation terms for the given input
```

a=int(input("Base: ")) b=int(input("N number of inputs: ")) print("\nThe total terms is:",b) for i in range(b+1): print(a**i)

**INPUT_1:**

Base: 5

N number of inputs: 5

**OUTPUT:**

The total terms is: 5

1

5

25

125

625

3125

**INPUT_2:**

Base: 2

N number of inputs: 6

**OUTPUT:**

The total terms is: 6

1

2

4

8

16

32

64

**ILLUSTRATION**