Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- N = int(raw_input())
- # This block contains auxiliary characters that will be added to values and printed during the program
- num1 = 1
- num2 = 1
- num3 = 1
- while N > 0:
- print(("%i %i %i")%(num1, num2 ** 2, num3 ** 3)) # on this block, values with respective squares will be add to the varaibles
- num1 += 1
- num2 += 1
- num3 += 1
- N -= 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement