Using a list of lists in a function


#1

`

i have understood all steps. but did not understand Third and Fourth steps. could any one help me in solving this program?


#2

The inner loop cannot have the same iterator variable as the outer loop. What about nums in numbers?

results = results + nums

Only problem is nums is a number, not a list, so cannot be concatenated to a list. It can however be appended.


#3

This i got when i correct my code.


#6

thank you. i understood where i did mistake.


#7