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   
def sum_Range_list(nums, m, n):
    sum_range = 0
   
    i = m
    while i < n + 1:
        sum_range += nums[i]
        i += 1
    return sum_range