Raslboyy

P

May 21st, 2021
779
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. n = int(input())
  2.  
  3. for i in range(n):
  4.     row = ''
  5.     for j in range(i, i + n):
  6.         row += str(j) + ' '
  7.     print(row)
Advertisement
Add Comment
Please, Sign In to add comment