input: Write a function to suggest an improvement for the given Python code that calculates the sum of elements in a list. The original code uses a loop to accumulate the sum, but the suggestion should make the code more concise and readable. The function should accept a list and return the sum directly.
  assert sum_elements([1, 2, 3, 4, 5])==15
  assert sum_elements([0, 0, 0, 0])==0
  assert sum_elements([-1, -2, -3, -4, -5])==-15
  assert sum_elements([])==0
  assert sum_elements([10])==10
output: def sum_elements(lst):
      return sum(lst)