Henry Savr wrote: > Here it is: > > def array_101 > for i in [0 ... self.length] > puts "#{i} => #{self[i]}" > end > end class Array def array_101 each_with_index{|e,i| puts "#{i} => #{e}" } end def array_102 puts (0...self.size).zip(self).map{|a| a.join(' => ')} end end