[Tutor] making a random list, then naming it
Oscar Benjamin
oscar.j.benjamin at gmail.com
Sat May 25 21:27:36 CEST 2013
On 25 May 2013 02:51, eryksun <eryksun at gmail.com> wrote:
> On Fri, May 24, 2013 at 9:10 PM, Dave Angel <davea at davea.name> wrote:
>>
>> Is lists[(3,8)] really so much harder to type than
>> list_3_8 ?
>
> Since a comma creates a tuple, in this context you can just use
> lists[3,8] to save a couple more keystrokes.
Or even lists(3, 8) if lists is a function.
More information about the Tutor
mailing list