Given a two-dimensional array (grid) G with dimensions 5x5, which is initially filled with zeros, the following Python function is used to modify the array: def fill(G): for i in range(5): G[i][2]= i After the function fill(G) is called, What will be the values along the diagonal of grid G?
1) The values along the diagonal will be [0, 0, 2, 0, 0]
2) All values along the diagonal will be 2
3) The values along the diagonal will be [0, 1, 2, 3, 4]
4) All values along the diagonal will be 0