"Peter Otten" <__pete...@web.de> wrote in message
news:mailman.510.1448009596.16136.python-l...@python.org...
> HKRSS wrote:
>
>> Thanks In Advance, Robert...;)
>
list_of_lists = []
list_of_lists.append(list_of_lists)
Dana petak, 20. studenoga 2015. u 14:06:31 UTC+1, korisnik Nagy László Zsolt
napisao je:
> > Sorry For Bad Question, But I need List Of Lists That I Can
> > Acces Horyzontaly, Not In The Deep(But This IS Not All,
> > I End That Evey List In List Of Lists Can Be A List...
> It is not possible to
> Sorry For Bad Question, But I need List Of Lists That I Can
> Acces Horyzontaly, Not In The Deep(But This IS Not All,
> I End That Evey List In List Of Lists Can Be A List...
It is not possible to do it with a native list. But you can write your
own iterable that can be iterated forever, and
On Sat, Nov 21, 2015 at 12:06 AM, Nagy László Zsolt
wrote:
>> Sorry For Bad Question, But I need List Of Lists That I Can
>> Acces Horyzontaly, Not In The Deep(But This IS Not All,
>> I End That Evey List In List Of Lists Can Be A List...
> It is not possible to do it with a
On 2015-11-20, HKRSS wrote:
>
> Sorry For Bad Question, But I need List Of Lists That I Can
> Acces Horyzontaly, Not In The Deep(But This IS Not All,
> I End That Evey List In List Of Lists Can Be A List...
>
> Thanks In Advance...
> Robert..;)
Not only was that genuine
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
On Fri, Nov 20, 2015 at 6:39 PM, Chris Angelico wrote:
> My crystal ball suggests that defaultdict(list) might be useful here.
>
> ChrisA
I used something similar to this for some problem in hackerrank,
anyway i think this is what you want.
class defaultlist(object):
def
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
On Fri, Nov 20, 2015 at 11:58 PM, srinivas devaki
wrote:
> def __str__(self):
> if len(self.list) == 0:
> return '(' + str(self.data) + ')[...]'
> return ''.join(['(', str(self.data), ')['] + map(str, self.list) +
> [', ...]'])
> ...
>
On Fri, Nov 20, 2015 at 11:16 AM, 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
On Sat, Nov 21, 2015 at 5:16 AM, wrote:
> I Think That LISP Is Only Solution, I Wil Give Up Frpm Python...
Capital Letters For The Win. You Should Consider Talking In German.
ChrisA
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, November 20, 2015 at 10:16:34 AM UTC-8, robert...@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
HKRSS wrote:
> Thanks In Advance, Robert...;)
>>> list_of_lists = []
>>> list_of_lists.append(list_of_lists)
>>> list_of_lists[0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0][0]
[[...]]
--
https://mail.python.org/mailman/listinfo/python-list
Thanks In Advance, Robert...;)
--
https://mail.python.org/mailman/listinfo/python-list
I Think That There Are Two Ways:
1)Harder Way Use Procedural C...
2)Easier Way Use LISP...
"HKRSS" wrote in message
news:n2miu8$fl4$1...@ls237.t-com.hr...
> Thanks In Advance, Robert...;)
>
>
--
https://mail.python.org/mailman/listinfo/python-list
15 matches
Mail list logo