Iteration of lists in lists


i have a problem regarding the iteration of lists inside of a list.
I am enclosing a screenshot of my code where i got stuck and i also want some implementation of the statement which i rounded in red line.


Replace this line with your code.


general syntax for append:


which variable contains the value you want to append?

also, append() will update the list for you, so no need to store result of an append action in a variable


results = results.append() << this didn't do anything in your code, basically we do this for counting, but counting value is in numbers variable
try to tell direct to this "results[ ]" to append numbers


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.