I am an absolute beginner to programming. I started a programming course recently.
I have a task which basically involves coding a first fit algorithm.
The task is to design and implement a program to pack items into containers using first fit algorithm. A container has an arbitrary capacity. The input to the program is a sequence of pos integers each representing the weight of an item.
I was thinking about using nested lists, however got stuck. As i have not done anything similar yet.
I would be glad if one could put it into a python code.