input: def delete_item_from_list(item: str) -> str:
      """
      Delete an item from a list using a REST API in Python. If the item is present in the list, it will be removed and the message "Item successfully deleted." will be returned. If the item is not found, return "Item not found."
      >>> delete_item_from_list("Apple")
      "Item successfully deleted."
      >>> delete_item_from_list("Mango")
      "Item not found."
      """
  
output:     items = ["Apple", "Banana", "Cherry"]
      if item in items:
          items.remove(item)
          return "Item successfully deleted."
      else:
          return "Item not found."