# Functions

So we're going practice functions until we dream them at night. Functions are blocks of code which contains a specific set of instructions when called. What do you mean "when called"? Well after we create a function we have to explicitly use the function so that the code will run.

```python
print('Hey, I\'m the Pink Power Ranger') # We call the print function
```

In the above example we call the print function. A function is called by using it's name and providing any arguments i.e. inputs, in this case the greeting being printed. After we create our functions, we'll have to call them in the same way we call the print function.


---

# 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://clicktostart.gitbook.io/introduction-to-python/functions.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.
