HackerRank Python Loops Problem Solutions
Code:
if __name__ == '__main__': n = int(input()) for i in range(0, n): print(i * i)
Test Input:
5
Test Output:
0 1 4 9 16