input: Write a function to return the count of each item in a given dictionary. The function should take a dictionary as an argument and return a dictionary with the same items and their respective counts. If the given dictionary is empty then return an empty dictionary.
  
  def item_counts(fruits):
      counts = {}
      for k, v in fruits.items():
          counts[k] = v
      return counts
  
  assert item_counts({"apples": 5, "oranges": 6, "bananas": 7}) == {"apples": 5, "oranges": 6, "bananas": 7}
  assert item_counts({}) == {}
output: def item_counts(fruits):
      return fruits