summaryrefslogtreecommitdiff
path: root/progs/a912.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a912.py')
-rw-r--r--progs/a912.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/a912.py b/progs/a912.py
new file mode 100644
index 0000000..7484aba
--- /dev/null
+++ b/progs/a912.py
@@ -0,0 +1,7 @@
+def odd_Num_Sum(n) :
+ j = 0
+ sm = 0
+ for i in range(1,n+1) :
+ j = (2*i-1)
+ sm = sm + (j*j*j*j*j)
+ return sm \ No newline at end of file