Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. N = int(raw_input())
  2. # This block contains auxiliary characters that will be added to values and printed during the program
  3. num1 = 1
  4. num2 = 1
  5. num3 = 1
  6. while N > 0:
  7. print(("%i %i %i")%(num1, num2 ** 2, num3 ** 3)) # on this block, values with respective squares will be add to the varaibles
  8. num1 += 1
  9. num2 += 1
  10. num3 += 1
  11. N -= 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement