Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Working with Excel Files
14. Exercise 2


Great! How about this one?


Add the prepared rows of data to the worksheets that have the same names as the variables (products and clients). Then add three rows to the orders worksheet:

  • ["client_id", "product_id"]
  • [2, 4]
  • [1, 2]

Save the workbook to the modified_orders.xlsx file.

We've already loaded a workbook for you and assigned it to the wb variable.