How to record attributes from each instance in a class variable, while having the parent class record instances of all classes in same variable?
Hi hoping someone can help me, I’m quite new to this so not sure if I’m missing something obvious. I’ve got a Food class and then subclass for each category of food.