竞赛
考级
能给个赞吗ovo
n=int(input()) for i in range(1,n*n+1): print(i,end=' ') if i%n==0: print()
提交答案之后,这里将显示提交结果~