Edit the following Python code to make it run without any errors
def find_sum(x):
  sum = 0;
  for i in x:
      sum += i
  return
def find_sum(x):
    sum = 0
    for i in x:
        sum += i
    return sum