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


Great! In the previous part, we showed you how to access the value of a cell. As you remember, each cell has a value property:


To modify cell data, we have to select that cell and assign the appropriate value:

ws["A1"] = "Monday"


We've kept your workbook loaded for you. Select the "Food" worksheet and set the A1 cell to "Name" and the B1 cell to "Price". Then, set the A2 cell to "Pizza" and the B2 cell to 8.

Save the workbook in the file budget.xlsx.