Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- digit = 1
- row,col = 4,4
- for i in range(1,row+1):
- digit = i
- for j in range(1,col+1):
- print(f"{digit:>3d}", end=" ")
- digit+=col
- print()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement