input: Write a Python function to parse arguments and sample k items from an input list.
  assert len(sample_items(["item1", "item2", "item3", "item4", "item5"], 2)) == 2
  assert len(sample_items(["a", "b", "c", "d"], 3)) == 3
  assert len(sample_items(["apple", "banana", "cherry"], 1)) == 1
output: import random
  
  def sample_items(input_list, k):
      return random.sample(input_list, k)