input: Write a python function to capitalize the first letter of each name in a list.
  assert capitalized_list(['kevin', 'david', 'james', 'george']) == ['Kevin', 'David', 'James', 'George']
  assert capitalized_list(['alice', 'bob', 'charlie']) == ['Alice', 'Bob', 'Charlie']
  assert capitalized_list(['anna', 'ben', 'carl']) == ['Anna', 'Ben', 'Carl']
output: def capitalized_list(names):
      return [name.capitalize() for name in names]