题解 | #牛牛的矩阵相加#
牛牛的矩阵相加
https://www.nowcoder.com/practice/730b90507602412fac90a3f106bfa0cd
list = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
num = int(input())
# new_list = []
for x in range(len(list)):
list[x][0] = list[x][0] * num
list[x][1] = list[x][1] * num
list[x][2] = list[x][2] * num
print(list)
