Solution:
In python to raise a number to the power of another number, you need to use the "**" operator. Where multiplying two numbers only uses one * symbol, the operator for raising one number to the power of another uses two: **.
What you did is you just multiplied the number thats why you are getting this type of results. So your code should be:
square = 5
results = list(map(lambda a: 5 ** a, range(square)))
for i in range(square):
print("5 raised to the power of",i,"is",results[i])
And you should get the output:
5 raised to the power of 0 is 1
5 raised to the power of 1 is 5
5 raised to the power of 2 is 25
5 raised to the power of 3 is 125
5 raised to the power of 4 is 625
Happy coding.