
-----------------------------------
Aziz
Thu May 22, 2008 1:47 pm

Weekly Ruby Quiz
-----------------------------------
Ever heard of the do it in any language. I'm using Python. Either use the as a chance to learn a new language, or practice a language you already know. The solutions are available at the Ruby Quiz site, but the originally Quizes weren't yet solved, and the point of them is to do it without looking at spoilers. It's actually much more fun. So the first one will be mad libs. I've posted a my compiled script and 3 test files.

One more thing: the two test scripts have line breaks in them. Some of the line breaks are within an 'identifier'. Deal with it accordingly (don't change the text file).

Will the mods endorse this?

Also, of similar interest: Usage for my script

python madlibs.pyc [filename]

filename is a the madlib text file. If no filename is specified, it uses the default mad lib:

"Our favorite language is ((gem:a gemstone)). We think ((gem)) is better than ((a gemstone)), and way better than ((a gemstone)). Yes, ((gem)) is the best!!!"

-----------------------------------
Aziz
Sat May 24, 2008 11:36 pm

RE:Weekly Ruby Quiz
-----------------------------------
No one's posted :(. There are 3 downloads and 40 views though, and I know only 1 download is me and probably only 3-4 views, so maybe someone is interested!

Anyways, I suppose the 48 hours are up, post your solutions. I'll post mine Monday when I'm at work, seeing as how I forgot to bring the source code home with me :(
