input: 
  from flask import Flask, request
  import json
  
  app = Flask(__name__)
  items = ["Apple", "Banana", "Orange"]
  
  @app.route('/items', methods=["GET"])
  def get_items():
      return json.dumps(items)
  
  @app.route('/items/<item>', methods=["DELETE"])
  def delete_item(item):
      """Delete an item from the list of items.
      If the item is in the list, it is removed and a success message is returned.
      If the item is not in the list, a "not found" message is returned.
      >>> delete_item('Banana')
      '{"message": "Item successfully deleted."}'
      >>> delete_item('Grapes')
      '{"message": "Item not found."}'
      """
      if item in items:
          items.remove(item)
          message = "Item successfully deleted."
      else:
          message = "Item not found."
      return json.dumps({"message": message})
  
output:     if item in items:
          items.remove(item)
          message = "Item successfully deleted."
      else:
          message = "Item not found."
      return json.dumps({"message": message})