top of page

Python program to print series 1,4,9......15 terms


Program:

for i in range(1,16):

j=i*i

print(j)

Output:

1 4 9 16 25 36..................225

Python program to print series 1,4,9......15 terms Video:





611 views0 comments

Recent Posts

See All

Write a Python function to calculate the factorial of a number (a non-negative integer). The function accepts the number as an argument. This program is most for O Level Practical Exam so read it care

bottom of page