How To Create A Endles List Of Lists In Python...???
robert.bralic at si.t-com.hr
robert.bralic at si.t-com.hr
Fri Nov 20 13:16:06 EST 2015
Dana petak, 20. studenoga 2015. u 18:16:52 UTC+1, korisnik Denis McMahon napisao je:
> On Fri, 20 Nov 2015 08:43:04 +0100, HKRSS wrote:
>
> > Thanks In Advance, Robert...;)
>
> Just keep appending child lists to parent list:
>
> l = []
>
> while True:
> l.append([])
>
> Until you run out of memory
>
> But I think that this answer although it appears accurate to the question
> is not a solution for anything useful, because it will just use all the
> memory up. So perhaps you need to express your question in a better
> manner.
>
> --
> Denis McMahon, denismfmcmahon at gmail.com
I Think That LISP Is Only Solution, I Wil Give Up Frpm Python...
Thanks, Robert...;)
More information about the Python-list
mailing list