# 操作数组
mylist = [
['00', '01', '02', '03'],
['10', '11', '12', '13'],
['20', '21', '22', '23'],
['30', '31', '32', '33']
]
# 取值坐标
class Vector:
def move(self, x, y):
pass
# x坐标增加
class VectorUpX(Vector):
def __init__(self, x, y):
self.x = x
self.y = y
def move(self):
self.y += 1
return self.x, self.y
# x坐标减少
class VectorDownX(Vector):
def __init__(self, x, y):
self.x = x
self.y = y
def move(self):
self.y -= 1
return self.x, self.y
<