Skip to content

Commit

Permalink
Format Document
Browse files Browse the repository at this point in the history
  • Loading branch information
sayampradhan authored Oct 14, 2022
1 parent 5fdaba0 commit f4f0088
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions ARKA.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
def sumOfSeries(n):
x = (n * (n + 1) / 2)
return (int)(x * x)
def sumOfSeries(n):
x = n * (n + 1) / 2
return (int)(x * x)



# Driver Function
# Driver Function
n = 5
print(sumOfSeries(n))
print(sumOfSeries(n))

0 comments on commit f4f0088

Please sign in to comment.