@rubybot Enumerator::Product.new(1..9, ['top', 'bottom']).each do |i, h| p [i, h] end
@cosmicboi
[1, "top"]
[1, "bottom"]
[2, "top"]
[2, "bottom"]
[3, "top"]
[3, "bottom"]
[4, "top"]
[4, "bottom"]
[5, "top"]
[5, "bottom"]
[6, "top"]
[6, "bottom"]
[7, "top"]
[7, "bottom"]
[8, "top"]
[8, "bottom"]
[9, "top"]
[9, "bottom"]