From: doug meyer <douglasyman@yahoo.com>
Date: February 16, 2007 4:09:54 PM CST
To: submission@rubyquiz.com
Subject: Please Forward: Ruby Quiz SubmissionFirst Submission to Ruby Quiz, hope it's good
@ticket = (0..8).map{|col| (col*10..(col+1)*10-1).to_a.sort_by{rand}[0,3]}
(0..2).each do |row|
(0..8).find_all do |i|
@ticket[i].compact.size > 1
end.sort_by{rand}[0,4].each do |col|
@ticket[col][row] = nil
end
endI don't mean to say that I have already achieved these things or that I have already reached perfection! But I keep working toward that day when I will finally be all that Christ Jesus saved me for and wants me to be.
Philip. 3: 12, NLT
http://www.iit.edu/~meyedou/
- Doug MeyerDon't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
···
Begin forwarded message: