题解 | #牛牛的矩阵相加#
牛牛的矩阵相加
https://www.nowcoder.com/practice/730b90507602412fac90a3f106bfa0cd
list_er = [[1,2,3],[4,5,6],[7,8,9]] n = int(input()) out_list = [] for x in list_er: out_list.append([m*n for m in x]) print(out_list)
牛牛的矩阵相加
https://www.nowcoder.com/practice/730b90507602412fac90a3f106bfa0cd
list_er = [[1,2,3],[4,5,6],[7,8,9]] n = int(input()) out_list = [] for x in list_er: out_list.append([m*n for m in x]) print(out_list)
相关推荐