Hello, Suppose I have some non-numerical Foo and would like to create a list of 20 Foo-s. Is there a one-step method (not a loop) of doing so? E.g., something like [Foo * 20] (which is obviously not the right way) that would create [Foo, Foo, Foo, ...,Foo]. I tried looking through the docs, FAQs and help, but couldn't find anything (the closest is range, but it seems it's only for numerics) - I very much appreciate your time in answering. Also, please excuse me if I used some wrong terminology.
Thanks, Efrat -- http://mail.python.org/mailman/listinfo/python-list