Sum the integers in a Python list.
List of integers: [1, 2, 3, 4, 5]
def sumList(list): 
    sum = 0
    for ele in list:
        sum += ele     
    return sum
  
list = [1, 2, 3, 4, 5] 
print("Sum of the elements in given list is :", sumList(list))