input: Write a python function to double the elements in a list and print them.
  assert double_and_print([1, 2, 3, 4]) == [2, 4, 6, 8]
  assert double_and_print([5, 10, 15]) == [10, 20, 30]
  assert double_and_print([0, -1, -2]) == [0, -2, -4]
output: def double_and_print(lst):
      doubled = [x * 2 for x in lst]
      print(doubled)
      return doubled