Program to find the sum of squares of natural numbers
Answers
Answered by
0
Explanation:
program is done on python
a=int(input(""))
it asks the user to input an integer(int) value
pow() function is used to get the square of natural number
power(3,2) is treated as (3)² in maths
print fuction is used to print the result
Attachments:
![](https://hi-static.z-dn.net/files/d2b/8692cabba0643b78944ae2bf64a8595b.jpg)
![](https://hi-static.z-dn.net/files/d83/6158fec7c5c0b3565b5cba3d01e5d7ea.jpg)
Similar questions