两行搞定,寻找最简解法!!!!
n=int(input())
print([[j*n for j in i] for i in [[1,2,3],[4,5,6],[7,8,9]]])