Hi Croliina,
caroliina escribió:
> i made a list of lists
Please notice that this problem:
> but i cant write it into a file.
has nothing to do with this other one:
> how do i get the
> first string in a sublist?
>
For the first one, it is impossible to answer without seeing some actual
co
Sunday 09 December 2007 18:11:00 tarihinde caroliina şunları yazmıştı:
> i made a list of lists but i cant write it into a file. how do i get the
> first string in a sublist?
An easy example:
>>> a=[[1,2,3],[4,5,6]]
>>> a[0][0]
1
>>> a[1][0]
4
>>>
--
Never learn by your mistakes, if you
--- caroliina <[EMAIL PROTECTED]> wrote:
>
> i made a list of lists but i cant write it into a
> file. how do i get the
> first string in a sublist?
> --
Try doing this:
print list_of_lists
print list_of_lists[0]
print list_of_lists[0][0]
print list_of_lists[0][0][0]
It might give you some i