3 of 9
Write a function find_position(grid, target) that:
(row, col) of the first occurrence of target in the grid (scanning row by row, left to right)None if the value isn't foundgrid = [ [1, 2, 3], [4, 5, 6], [7, 8, 9] ] print(find_position(grid, 5)) # (1, 1) print(find_position(grid, 7)) # (2, 0) print(find_position(grid, 10)) # None