Months X Y Z
June a b c
July
August
Sept
Oct
Total Sum(x) Sum(y) Sum(z)
I want this table in my webapp. a,b and c are provided and rest of the values are calculated from them. What should I use here list or dictionary.
Using list I would pass different lists for X Y and Z and sum that using sum value.
Ques 1->Is it ok to initialize a long list even when all the values have to be calculated from a,b and c?
Ques 2->If not what is a better method to do this?