Python for with sublists

Hello everyone,

I am trying to execute some operations with Python nodes and inputs composed of sublists within Revit. Please find attached a screenshot of the approach I am behind and how I want to get the outcome (highlighted in red).

You will notice that Python is not giving me, as outcome, the same list-structure as I want.

Ok I sorted it out.

I post the solution just in case someone has the same query: