Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
recursion for lists
#1
my question here
Hello everyone,
I have a multi dimensional list with 4 parameters
array1 = [[array_size,full_type,child={},size],
[array_size,full_type,child1={},size],....]
where child,child1 are again lists contains [array_size,full_type,child={},size],
[array_size,full_type,child={},size]...

I have to go through this recursively until I get no child at each layer.
Any help is hightly appreciated. Thank you

my code here
Reply


Messages In This Thread
recursion for lists - by lavanya - Aug-29-2017, 10:42 AM
RE: recursion for lists - by ichabod801 - Aug-29-2017, 12:52 PM
RE: recursion for lists - by hbknjr - Aug-30-2017, 08:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Split dict of lists into smaller dicts of lists. pcs3rd 3 2,455 Sep-19-2020, 09:12 AM
Last Post: ibreeden
  sort lists of lists with multiple criteria: similar values need to be treated equal stillsen 2 3,327 Mar-20-2019, 08:01 PM
Last Post: stillsen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020