input: Write a function to convert a list of numbers into a dictionary where each key is a number from the list and each value is a string representation of that number. The function should also iterate through the dictionary and print the string values. The function should return the dictionary.
  assert convert_to_dictionary([1, 2, 3, 4])=={1: 'one', 2: 'two', 3: 'three', 4: 'four'}
  assert convert_to_dictionary([5, 6, 7])=={5: 'five', 6: 'six', 7: 'seven'}
  assert convert_to_dictionary([])=={}
output: def convert_to_dictionary(numbers):
      num_to_str = {1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven'}
      result = {num: num_to_str.get(num, '') for num in numbers}
      for value in result.values():
          print(value)
      return result