DerioFT

1144.py

Oct 31st, 2021
945
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. N = int(input())
  2.  
  3. increment = 1
  4.  
  5. for data in range(N):
  6.  
  7.     print(increment, increment ** 2, increment ** 3)
  8.  
  9.     print(increment, (increment ** 2) + 1, (increment ** 3) + 1)
  10.  
  11.     increment += 1
  12.  
Advertisement
Add Comment
Please, Sign In to add comment