[Tutor] Iterating two one dimensional lists to create a multidemsional array

2008-10-10 Thread S Potter
OK I'm still new to the python list / array deal. I'm having problems with something very simple that I could accomplish in C++ but for some reason I'm not grasping it python. Here is my example psuedo code: I have two lists: items = ['roses','violets','sugar','so'] and attributes = ['red','b

Re: [Tutor] : Novice Python Question

2008-07-01 Thread S Potter
To all; Since this was my first time using this resource I just wanted to extend my thanks for the many responses/explanations. I'm actually not using much of a tutorial but I will look over the links provided herein. I did make a mistake in my question post I wasn't using a dictionary but a so

[Tutor] Novice Python Question

2008-07-01 Thread S Potter
To whom it may concern; I am a just experimenting with Python and learning as I go. The majority of my stumbling blocks have been syntax. So with that I must ask a couple of technical albeit probably very simple questions. Hopefully, you may provide me some insight and help me on my way. Que