input: Write a function to improve the following Python code for finding the sum of elements of a list. Use a more efficient method.
  
  ### Instruction:
  Suggest an improvement for the following python code for finding the sum of elements of a list
  
  ### Input:
  def sum_elements(arr):
      sum_value = 0
      for num in arr:
          sum_value += num
      return sum_value
  
  ### Output:
  def sum_elements(arr):
      return sum(arr) # return sum of elements of arr with one line of code.
  
  assert sum_elements([1, 2, 3, 4, 5]) == 15
  assert sum_elements([0, 0, 0, 0]) == 0
  assert sum_elements([]) == 0
  assert sum_elements([-1, 1, -1, 1]) == 0
  assert sum_elements([10, 20, 30]) == 60
output: def sum_elements(arr):
      return sum(arr)