# map_square_it.rb def suqare num num ** 2 end squared_array = [1, 2, 3, 4, 5].map { |x| suqare x } p squared_array