[Tutor] making a random list, then naming it

Jim Mooney cybervigilante at gmail.com
Sat May 25 03:35:23 CEST 2013


On 24 May 2013 18:10, Dave Angel <davea at davea.name> wrote:

> Is lists[(3,8)]  really so much harder to type than
>     list_3_8  ?
>

You have a point. I hate underlines - my finger always misses them.
Keyboards were not designed for programming ;')

Anyway, I just thought I'd try exec, but it's giving me fits putting it in
a function so I can do multiple lists. A dictionary looks more manageable.

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130524/561c6116/attachment.html>


More information about the Tutor mailing list