题解 | #牛牛的矩阵相加#

牛牛的矩阵相加

https://www.nowcoder.com/practice/730b90507602412fac90a3f106bfa0cd

times=int(input())
max=[[1,2,3],[4,5,6],[7,8,9]]
max=[[i*times for i in m] for m in max]
print(max)

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务