Re: [Tutor] Fwd: The why

2009-07-16 Thread Kent Johnson
> From: chris Hynes > Date: 2009/7/15 > Subject: The why > To: roadier...@googlemail.com > > > Well, I'm trying to create an interactive program, let's say I'm > running the program, I ask the user to give the array a name, I then > do some computations and store the results in that array. While I

Re: [Tutor] Fwd: The why

2009-07-16 Thread Luke Paireepinart
You need to read what dictionaries are. Essentially, any time you think "oh I need to keep separate variables for these values, but I won't know what their names are until runtime!" the correct answer is to not try to manipulate them into variables, but to use them as dictionary keys, or organize t

[Tutor] Fwd: The why

2009-07-15 Thread Rich Lovely
-- Forwarded message -- From: chris Hynes Date: 2009/7/15 Subject: The why To: roadier...@googlemail.com Well, I'm trying to create an interactive program, let's say I'm running the program, I ask the user to give the array a name, I then do some computations and store the result