The Little L
Tuesday, April 22, 2008
Sudo, make me some orange juice


The glass I decorated for Roozbeh's birthday. Original idea comes from xkcd comic #149

1 Comments:
Blogger Reza Mohammadi said...
from refrigerator import get_orange
from fruit import Orange

try:
    v = Orange.get_average_volume()
    for i in range(glass.volume/v):
        o = get_orange()
        the_glass.fill(o.juice())
except NoOrange:
    print "Command failed! There are no oranges left in the refrigerator. Sorry!"