input: Write a python function to get the length of each name in the list.
  assert get_name_lengths(["John", "Mary", "Lucas"]) == [4, 4, 5]
  assert get_name_lengths(["Alice", "Bob"]) == [5, 3]
  assert get_name_lengths([""]) == [0]
output: def get_name_lengths(names):
      return [len(name) for name in names]