From: "Hyun Oh K." Date: 2013-04-15T11:32:01+09:00 Subject: simple lambda question hello, I am newbie for ruby. these days i am forcusing learning about ruby languages. and I wonder and hope ruby will be simply answer below quiz just one line. below is python code. Python 2.3.4 (#1, Nov 10 2004, 13:08:40) [C] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> >>> a=0 >>> while a*a < 10000: ... if a*a > 1000: ... s = str(a*a) ... if s[0]==s[1] and s[2]==s[3]: ... print a, a*a ... a = a+1 ... 88 7744 >>> quiz is about number. and ruby have lambda func. so I hope easly solution make. anybody wellknown ruby user, help and solve above quiz. Thank you~! -- Posted via http://www.ruby-forum.com/.