?

Log in

No account? Create an account

Previous Entry | Next Entry

xkcd props

Ooh, I got a mention on Randall Munroe's blag. Now I know I've arrived.

I think I'm actually really proud that my script produced quite readable output, like so:

$ python appetizers.py 
7 orders of mixed fruit: $15.05
1 order of mixed fruit, 2 orders of wings, 1 sampler plate: $15.05
His script just printed out comma-separated sets of numbers of dishes.

Remember, everyone. Integer math is your friend.

Profile

highway
crs
just a guy made of dots and lines
Home

Latest Month

September 2012
S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829
30      
Powered by LiveJournal.com
Designed by Tiffany Chow