Loops Hackerrank Solution Python
For Explanation Watch Video:
Sample Input 0
5
Sample Output 0
0
1
4
9
16
if __name__ == '__main__': n = int(input()) for i in range(n): print(i**2)
For Explanation Watch Video:
Sample Input 0
5
Sample Output 0
0
1
4
9
16
if __name__ == '__main__': n = int(input()) for i in range(n): print(i**2)
Comments
Post a Comment