Instruction
Amazing! Don't give up – just two more exercises to go!
Exercise
- Create a new workbook and assign it to the
wbvariable. - Rename the default sheet to
spendings_summary. - Create two additional worksheets and name them
january_spendingsandfebruary_spendings. - Append the data from the
january_spendingsandfebruary_spendingsvariables to the appropriate worksheets. - Add the following row to the
spendings_summaryworksheet:The second row should contain the sum of all spendings for January and for February, respectively.january_spendings february_spendings
Save the results to the monthly_spendings.xlsx file.
Stuck? Here's a hint!
Create a new workbook with the Workbook() function. You can add a new sheet with the .create_sheet() function. To append a row to a sheet, use the .append(row) function.



