Python:实现矩阵螺旋打印算法
from collections.abc import Iterable
def check_matrix(matrix):
# must be
if matrix and isinstance(matrix, Iterable):
from collections.abc import Iterable
def check_matrix(matrix):
# must be
if matrix and isinstance(matrix, Iterable):