On Apr 19, 9:18 pm, Paddy <[EMAIL PROTECTED]> wrote:
>
> # create a list of instances
> gazelles= [ Gazelle() for x in range(5)]
>

Nice.  I knew there had to be a way to use a list comprehension, but I
couldn't figure it out.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to