input: Write a python function to convert a JSON string to a dictionary and print each key-value pair.
  assert json_to_dict_print('{"name": "John", "age": 30, "city": "New York"}') == {'name': 'John', 'age': 30, 'city': 'New York'}
  assert json_to_dict_print('{"fruit": "Apple", "size": "Large", "color": "Red"}') == {'fruit': 'Apple', 'size': 'Large', 'color': 'Red'}
  assert json_to_dict_print('{"company": "OpenAI", "model": "GPT-3"}') == {'company': 'OpenAI', 'model': 'GPT-3'}
output: def json_to_dict_print(json_str):
      import json
      dictionary = json.loads(json_str)
      for key, value in dictionary.items():
          print(f'{key}: {value}')
      return dictionary