---
name: data-lambda-custom-function
description: Turns a repeated calculation into a reusable custom function with LAMBDA.
license: CC0-1.0
source: "https://github.com/diba7star/awesome-persian-prompts/blob/main/prompts/data.json"
via: "https://di9.ir/blog/en/prompts/data-lambda-custom-function"
---

I keep repeating this calculation: [description, e.g. price with 10% tax and tiered discount]. Create a custom function named [name] using LAMBDA and Name Manager. Give definition steps, a usage example and tests with three inputs.
