How do we update a value in an array?

We access the value by its index, then assign another valueWe can't update values in arrays

We access the value by its index, then assign another value.