Check Tutorial tab to know how to to solve.  

Task 

The provided code stub reads and integer, $n$, from STDIN. For all non-negative integers $i<n$, print $i^2$.  

Example 

$n=3$  

The list of non-negative integers that are less than $n=3$ is $[0,1,2]$.  Print the square of each number on a separate line.

0
1
4

Input Format

The first and only line contains the integer, $n$. 

Constraints

$1\leq n\leq20$  

Output Format

Print $n$ lines, one corresponding to each $\boldsymbol{i}$.  

Sample Input 0
5

Sample Output 0
0
1
4
9
16

Difficulty: EASY

Solutions:
a = int(input())
for i in range(0, a):
	print(i ** 2)


N = int(input())
index = 0
for i in range(N):
	print(i ** 2)


a = int(input())
i = 0
while i < a:
	print(i * i)
	i += 1


n = int(input())
for i in range(0, n):
	if i >= 0:
		print(pow(i, 2))


n = int(input())
for i in range(n):
	print(i * i)


n = int(input())
for a in range(0, n):
	print(a * a)
	a += 1


n = int(input())
i = 0
while i < n:
	print(i ** 2)
	i += 1


N = int(input())
for n in range(0, N):
	print(n * n)


N = int(input())
for i in range(N):
	print('%s' % i ** 2)


N = int(input())
n = 0
while n < N:
	print(n * n)
	n = n + 1


n = int(input())
for i in range(0, n):
	print(i * i)


num = int(input())
for i in range(0, num):
	print(i * i)


n = int(input())
for i in range(0, n):
	if n <= 20:
		print(i ** 2)


n = int(input().strip())
for i in range(0, n):
	print(i * i)


x = int(input())
for i in range(x):
	print(i * i)


N = int(input())
for n in range(N):
	print(n ** 2)


a = int(input())
for i in range(0, a):
	x = i * i
	print(x)


num = int(input())
for i in range(0, num):
	print(i ** 2)


n = int(input())
i = 0
while i < n:
	print(i * i)
	i = i + 1


n = int(input())
if n >= 1 and n <= 20:
	for i in range(n):
		print(i * i)


N = int(input().strip())
for i in range(0, N):
	print(i * i)


a = int(input())
for i in range(a):
	print(i ** 2)


n = int(input().strip())
for i in range(n):
	print(i * i)


n = int(input(''))
[print(i ** 2) for i in range(n)]


n = int(input())
for i in range(0, n):
	print(i ** 2)


N = int(input())
for i in range(0, N):
	print(i * i)
	i += 1


i = 0
n = int(input())
while i < n:
	print(i * i)
	i += 1


n = int(input())
for i in range(0, n):
	square = pow(i, 2)
	print(square)


s = int(input())
for i in range(0, s):
	print(i ** 2)


N = int(input().strip())
for number in range(N):
	print(number ** 2)


i = int(input())
for i in range(0, i):
	print(i * i)


N = int(input())
for i in range(0, N):
	i = i * i
	print(str(i))


N = int(input())
for i in range(0, N):
	print(i ** 2)


for x in range(int(input())):
	print(x ** 2)


def __starting_point():
	n = int(input())
	num = 0
	while num < n:
		print(pow(num, 2))
		num += 1
__starting_point()


N = int(input())
for i in range(0, N):
	num = i ** 2
	print(num)


N = int(input())
for N in range(0, N):
	print(N ** 2)


a = 1
c = int(input())
b = 0
for i in range(0, c):
	print(b)
	b = b + a
	a += 2


N = int(input())
for i in range(N):
	print(i ** 2)


N = int(input())
for x in range(N):
	print(pow(x, 2))


n1 = int(input())
for i in range(0, n1):
	if i >= 0:
		print(i * i)


n = int(input())
for num in range(n):
	print(num * num)


n = int(input())
i = 0
while i < n:
	print(i * i)
	i += 1


n = int(input())
for i in range(n):
	print(i ** 2)


iterations = int(input())
for i in range(0, iterations):
	print(i * i)


r = int(input())
for i in range(r):
	print(i ** 2)


n = int(input())
for t in range(0, n):
	print(t * t)


i = 0
N = int(input())
while i < N:
	print(i * i)
	i += 1


import math
N = int(input())
for i in range(0, N):
	print(int(math.pow(i, 2)))


a = int(input())
for i in range(0, a):
	print(i * i)


for i in range(int(input())):
	print(i ** 2)


N = int(input())
i = 0
while i < N:
	print(i * i)
	i = i + 1


N = int(input())
i = 0
while i < N:
	print(i * i)
	i += 1


a = int(input())
for i in range(a):
	print(i * i)


lim = int(input())
for i in range(0, lim):
	print(i ** 2)


i = int(input())
for k in range(i):
	print(k ** 2)


n = int(input())
for i in range(0, n):
	print(pow(i, 2))


N = int(input())
for i in range(0, N):
	print(i * i)