Skip to content

Commit 9ccd1ad

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 983ad4d commit 9ccd1ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

maths/series/sum of sqaures of n natural numbers

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ class sum_of_squares:
77
print(f"The sum of squares of the first {n} natural numbers is {r}")
88
else:
99
print("Kindly enter a natural number!")
10-
11-
12-
10+
11+
12+
1313
solution1=sum_of_squares()
1414
a=int(input("Enter a natural number to find sum of sqaures upto that number:"))
1515
solution1.get_square_of_series(a)

0 commit comments

Comments
 (0)