#!/usr/bin/python3 # Accept a positive integer n. # Print the first n perfect squares starting with 1(eg. 1, 4, 9, 25, 49, 100 .. etc.) # Each number should be printed on one line n = int(input()) for i in range(1,n+1): # Perfect square is i * i or i^2 print(i**2) # print(i*i)