We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a821124 + 9ccd1ad commit 57807b8Copy full SHA for 57807b8
maths/series/sum of sqaures of n natural numbers
@@ -7,9 +7,9 @@ class sum_of_squares:
7
print(f"The sum of squares of the first {n} natural numbers is {r}")
8
else:
9
print("Kindly enter a natural number!")
10
-
11
12
+
13
solution1=sum_of_squares()
14
a=int(input("Enter a natural number to find sum of squares upto that number:"))
15
solution1.get_square_of_series(a)
0 commit comments