I don't think you need the call to
On point 2,
It might help if you stepped through the code with pen and paper acting out what the computer would do. That should help you understand the code.
list
on line 12 - the view object that items
returns is already something that can be iterated over.list
, though, is like dict
. It creates an empty list when given no arguments, or turns its arguments into a list.On point 2,
bigcount
is modified, on line 15. It might help if you stepped through the code with pen and paper acting out what the computer would do. That should help you understand the code.