input: Write a python function to find and print the maximum value in a list.
  assert print_max([1, 4, 8, 9, 10]) == 10
  assert print_max([5, 3, 7, 2, 8, 6]) == 8
  assert print_max([-1, -5, -3, -4, -2]) == -1
output: def print_max(lst):
      max_value = max(lst)
      print(max_value)
      return max_value