Here's my Monty Pythonic answer:

## cut here
class Viking():

    def __init__():
        pass

    def order():
        return 'Spam'

# this is one viking making one order repeated 511 times. if you want
# 511 vikings making seperate orders, you'll have to write a loop.
v = Viking()
orders = [ v.order() ] * 511

print ', '.join(orders)
## cut here

With no apologies to Eric Idle,

Nick


-- 
#  sigmask  ||  0.2  ||  20030107  ||  public domain  ||  feed this to a python
print reduce(lambda x,y:x+chr(ord(y)-1),' Ojdl!Wbshjti!=obwAcboefstobudi/psh?')
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to