# Function Task Examples

### Common Language Examples

|                                                          Example                                                          |                                    Description                                   |
| :-----------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------: |
|        [**Fibonacci**](/developing-truebit-tasks/how-to-create-function-tasks/function-task-examples/fibonacci.md)        | A simple function to calculate the Fibonacci sequence based on an input integer. |
| [**Reverse Alphabet**](/developing-truebit-tasks/how-to-create-function-tasks/function-task-examples/reverse-alphabet.md) |            A simple function to reverse characters in an input string.           |

### Js Examples

<table><thead><tr><th align="center">Example</th><th align="center">Description</th><th data-hidden></th></tr></thead><tbody><tr><td align="center"><a href="/pages/yWSjj2mdyWhQPuqsDkSk"><strong>Sha256 using bun.js</strong></a></td><td align="center">A simple function to encrypt using bun.js.</td><td></td></tr><tr><td align="center"><a href="/pages/CBRUmJJ9lOFiuroNTbSq"><strong>Sha256 using Deno</strong></a></td><td align="center">A simple function to encrypt using Deno.</td><td></td></tr><tr><td align="center"><a href="/pages/4QaOEZU1hmjgK1CB0oWN"><strong>ECDSA Signature Verification</strong></a></td><td align="center">A simple signature verification using the ECDSA algorithm.</td><td></td></tr></tbody></table>

### Python Examples

<table><thead><tr><th align="center">Example</th><th align="center">Description</th><th data-hidden></th></tr></thead><tbody><tr><td align="center">​<a href="https://app.gitbook.com/o/-MZ9ineVYRIEI8Pk97Ka/s/AfNTfJ48HTdTVB8EdvCs/~/diff/~/changes/310/developing-truebit-tasks/writing-function-tasks/function-task-examples/numpy-example"><strong>NumPy</strong></a></td><td align="center">A simple example showing how to interact with the library and process an external file.</td><td></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://devs.truebit.io/developing-truebit-tasks/how-to-create-function-tasks/function-task-examples.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
