![](https://cdn.userecho.com/characters/66.png?1)
+1
Отвечен
good_list total = 0 in constructor
Hello
When you inititally make the total of the items 0 (in constructor of the good_list) you cannot add any item any more. Is this a bug? Or am I completely missing something?
Сервис поддержки клиентов работает на платформе UserEcho
You are right, you can solve it this way
:)