For this Question: For all non- negative integers i<n, Print square of i.The first line contains the integer n.

Constraints
1<=n<=20Print n lines, one corresponding to each i.Sample Input:
3
Sample Output:
0
1
4

Explanation:
Prints the square of each number less than n on a separate line., I have written this Solution Code: n = int(input())
for i in range(0, n):
    print (i*i), In this Programming Language: Python, Now tell me if this Code is compilable or not?