How To Create A Endles List Of Lists In Python...???

sohcahtoa82 at gmail.com sohcahtoa82 at gmail.com
Fri Nov 20 14:26:33 EST 2015


On Friday, November 20, 2015 at 10:16:34 AM UTC-8, robert... at si.t-com.hr wrote:
> 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...;)

Is There A Reason You're Starting Every Word With A Capital Letter?

I mean, really, you're going out of your way and expending extra effort to type incorrectly.



More information about the Python-list mailing list