summaryrefslogtreecommitdiff
path: root/progs/a48.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a48.py')
-rw-r--r--progs/a48.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/a48.py b/progs/a48.py
new file mode 100644
index 0000000..736523b
--- /dev/null
+++ b/progs/a48.py
@@ -0,0 +1,5 @@
+def sum_Range_list(nums, m, n):
+ sum_range = 0
+ for i in range(m, n+1, 1):
+ sum_range += nums[i]
+ return sum_range \ No newline at end of file