Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Task: Read an integer N. For all non-negative integers i < N, print i^2. See the sample for details.
The first and only line contains the integer, N
Print N lines, one corresponding to each i.
5
0 1 4 9 16
Task :Read an integer N. For all non-negative integers i < N, print i^2. See the sample for details.
The first and only line contains the integer, N
Print N lines, one corresponding to each I.
5
0 1 4 9 16
n=int(input())
for i in range(n):
print i**2
if __name__ == '__main__':
n = int(input())
for i in range(0,n):
print(i*i)
# Enter your code here. Read input from STDIN. Print output to STDOUT
N = int(raw_input())
for i in range(0,N):
print(i**2)
# Enter your code here. Read input from STDIN. Print output to STDOUT
n = int(input())
for i in range(0,n):
print(i*i)
In our experience, we suggest you solve this Loop Hacker Rank Solution and gain some new skills from Professionals completely free and we assure you will be worth it.
Loops Hacker Rank Problem is available on Hacker Rank for Free, if you are stuck anywhere between a compilation, just visit Queslers to get Loops Hacker Rank Solution.
I hope this Loops Hacker Rank Solution would be useful for you to learn something new from this problem. I hope this Python: Division Hacker Rank Solution would be useful for you to learn something new from this problem. If it helped you then don’t forget to bookmark our site for more Hacker Rank, Leetcode, Codechef, Codeforce Solution.
This Problem is intended for audiences of all experiences who are interested in learning about Data Science in a business context; there are no prerequisites.
Keep Learning!
More Hacker Rank Problem & Solutions >>
Staircase Hacker Rank Solution
A Very Big Sum Hacker Rank Solution
Diagonal Difference Hacker Rank Solution