input: Write a function to modify the given Python program to use a dictionary instead of a list. The function should take a list of items as input and print the corresponding values from the dictionary. If the given list is empty, it should print an empty string.
  assert modify_program([1, 2, 3, 4])==['one', 'two', 'three', 'four']
  assert modify_program([2, 4])==['two', 'four']
  assert modify_program([1])==['one']
  assert modify_program([])==['']
output: def modify_program(items):
      dictionary = {1: 'one', 2: 'two', 3: 'three', 4: 'four'}
      if not items:
          return ['']
      return [dictionary.get(item, '') for item in items]