Untitled

mail@pastecode.io avatar
unknown
python
15 days ago
280 B
0
Indexable
Never
main.append(values)
                for item in main:
                    gross = [item['Basic'][0] + sum(item['Allowance'])]
                    net = [item['Basic'][0] + sum(item['Allowance'])+sum(item['Deduction'])]
                    item.update({'Gross': gross, 'Net': net})
Leave a Comment