Please Help, my code does not pass the exercise but prints the right results:
my_array = [1, 2, 3, 4, 5]

my_array.each do |n| puts n ** n



n ** n is n to the nth power.

And according to instructions you have to use n * n:

Add a block after .each that multiplies each item by itself and puts the result to the console.


Ah ok. Thanks so much


You're very welcome :smile: