["magenta", "red", "yellow"].each { |color| puts "Current color: #{color}." first= true ["ellipse", "rectangle", "triangle"].each do |shape| if(first) puts " We have a #{color} #{shape}," else puts " and a #{color} #{shape}," end first= false end puts "and those are all the #{color} shapes." }