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

=====Example=====
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≤n≤20

=====Output Format=====
Print lines, one corresponding to each i.

Difficulty: introductory

Starter code:

if __name__ == '__main__':
    n = int(input())

Solutions:
# Enter your code here. Read input from STDIN. Print output to STDOUT
a=int(input())
for i in range(0,a):
    print((i*i))


def __starting_point():
    n = int(input())

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