• + 0 comments
    for i in range(n):
    	print(i**2)
    

    range(n) generates a sequence of integers starting from 0 up to, but not including, n so it'll all be non-negative