NameSurname
Member since Jan 10, 2012
- Profile: /members/9468-namesurname.htm
- Comments: 1
Recent Blog Comments By NameSurname
-
Seven Languages In Seven Weeks: Ruby - Day 2
Posted on Jan 10, 2012 at 12:24 PM
Hi guys, thanks for all the info here, my solution for do#1 is similar to Elliott's; but I wanted to point out that Stephen's rely on the values of the array, which can be misleading. For instance it doesn't work in this case: a = (11..26).to_a a.each {|i| print "#{i} "; puts if ... read more »