Hello,

I have this :

def solution(pairs)
   pairs.each {|key, value| print "#{key} = #{value}" }
end

when I do solution({a: 1, b: '2'})  I see a = 1 b = 2
when I change the pairs to this

pairs.each {|key, value| print "#{key} = #{value}, " }

I will see a = 1, b=2,

is there a way I can take care that after the 2 no , is displayed.

Roelof