Python: How to sum values in Excel sheet and save value to new row I have some code in Python which, very briefly explained: