在python中我会喜欢
grid = [['a','b','c'],['d','e','f'],['g','h','i']]
another_grid = [['a','a','a'],['d','e','f'],['g','h','i']]
another_grid[0][1] = grid[1][1]
上面的代码会将'a'更改为'e'。如何在 c 中做到这一点?
在python中我会喜欢
grid = [['a','b','c'],['d','e','f'],['g','h','i']]
another_grid = [['a','a','a'],['d','e','f'],['g','h','i']]
another_grid[0][1] = grid[1][1]
上面的代码会将'a'更改为'e'。如何在 c 中做到这一点?