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


Good! As you've seen, the printed result wasn't exactly the value of this cell. We'll get to that in the next exercise. However, there is another way of accessing a particular cell. It's similar to accessing a particular sheet, as we did above:


Inside the square brackets, we specify the position of a given cell in "A1" notation. This notation should be familiar to Excel users – worksheet columns are indicated by letters, while the rows are numbered.

columns and rows


This time, access the B4 cell. Assign this cell to the selected_cell variable and print it. Use the square bracket notation to access the cell.