input: 
  from typing import List
  
  def find_formatted_items(items: List[dict], search_name: str) -> dict:
      """ Given a list of items (each represented as a dictionary), find and return
      the item with the specified name. Return an empty dictionary if no item is found.
      >>> items = [{'name': 'apple', 'price': 0.5}, {'name': 'banana', 'price': 0.25}]
      >>> find_formatted_items(items, 'apple')
      {'name': 'apple', 'price': 0.5}
      >>> find_formatted_items(items, 'orange')
      {}
      """
      for item in items:
          if item['name'] == search_name:
              return item
      return {}
  
output:     for item in items:
          if item['name'] == search_name:
              return item
      return {}