creating a code with two list

Chris Angelico rosuav at gmail.com
Tue Oct 11 09:59:41 EDT 2011


On Wed, Oct 12, 2011 at 12:49 AM, Nick Zarr <jacktradespublic at gmail.com> wrote:
>>>> range(1, 1000)
> [1, 2, ..., 999]
>

Or for Python 3 compat:

>>> list(range(1,1000))

ChrisA



More information about the Python-list mailing list