Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
57887 木木老师 二维数组输出(2) Python3 Accepted 34 MS 3768 KB 269 2023-09-15 10:59:50

Tests(3/3):


Code:

n=int(input()) count=1 for i in range (n): x=count for j in range (n): if j==n-1: x+=n print(x) elif j==0: print(x,end=" ") else: x+=n print(x,end=" ") count+=1