summaryrefslogtreecommitdiff
path: root/progs/a169.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a169.py')
-rw-r--r--progs/a169.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/a169.py b/progs/a169.py
new file mode 100644
index 0000000..8b066d5
--- /dev/null
+++ b/progs/a169.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)
+ return sm \ No newline at end of file