input: Write a function to print the largest value from a given list of numbers. If the given list is empty then return None.
  
  def get_max_value(numbers):
      return max(numbers) if numbers else None
  
  test_list1 = [2, 4, 1, 6]
  test_list2 = []
  
  print(get_max_value(test_list1))  # Output: 6
  print(get_max_value(test_list2))  # Output: None
output: def get_max_value(numbers):
      return max(numbers) if numbers else None