"elis aeris" <[EMAIL PROTECTED]> wrote
> looking back to my first post, it seems to be a little weak. Can you
> suggest
> something that I could have said?
Your first post was downright confusing.
Your second post was better because it described what you wanted.
You did that by drawing comparis
"elis aeris" <[EMAIL PROTECTED]> wrote
> in c++ i use array[n][n] to store things.
>
> how do i create an array like that?
Please read any tutorial they nearly all cover multi dimensional
lists.
It is also easy to experiment at the >>> prompt. Just try the obvious
thing - create a list of lists
On Sun, Mar 23, 2008 at 4:24 PM, elis aeris <[EMAIL PROTECTED]> wrote:
> Now I want to talk about this: how should I have asked my Q to let
> everyone know what I was looking for?
>
> looking back to my first post, it seems to be a little weak. Can you
> suggest something that I could have said?
>
thanks for the reply, btw.
On Sun, Mar 23, 2008 at 4:22 PM, Marc Tompkins <[EMAIL PROTECTED]>
wrote:
> On Sun, Mar 23, 2008 at 4:16 PM, elis aeris <[EMAIL PROTECTED]> wrote:
>
> > in c++ i use array[n][n] to store things.
> >
> > how do i create an array like that?
> >
>
> Python doesn't have "ar
t =[ ["item1", "item2", "item3"], ["itemA", "itemB", "itemC"], ["itemI",
"itemII", "itemIII"] ]
yes this is what I am looking for.
Now I want to talk about this: how should I have asked my Q to let everyone
know what I was looking for?
looking back to my first post, it seems to be a little weak
On Sun, Mar 23, 2008 at 4:16 PM, elis aeris <[EMAIL PROTECTED]> wrote:
> in c++ i use array[n][n] to store things.
>
> how do i create an array like that?
>
Python doesn't have "arrays". It has tuples, lists, and dictionaries. A
quick Google will tell you the distinctions between them.
It look
in c++ i use array[n][n] to store things.
how do i create an array like that?
On Sun, Mar 23, 2008 at 4:13 PM, bob gailer <[EMAIL PROTECTED]> wrote:
> elis aeris wrote:
> > t = 12345, 54321, "hello!"
> > print t[0]
> >
> > the way the 3 items are saved and access fits my need, now how do I
>
elis aeris wrote:
> t = 12345, 54321, "hello!"
> print t[0]
>
> the way the 3 items are saved and access fits my need, now how do I
> make t have more than one entry so effectively I get this?
>
> t[n][n]
>
(1) are you going through the tutorials as requested?
(2) please learn how to ask meaningfu
t = 12345, 54321, "hello!"
print t[0]
the way the 3 items are saved and access fits my need, now how do I make t
have more than one entry so effectively I get this?
t[n][n]
?
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listin