# Home assignment

### **Situation**

You will be asked to develop a python function that will return a message. As example you have the function below:

<figure><img src="/files/a3sqT3VzmcPRDAmWJmc0" alt=""><figcaption><p>Image taken from <a href="https://www.w3schools.com/python/python_functions.asp">https://www.w3schools.com/python/python_functions.asp</a></p></figcaption></figure>

### **Assignment**

You will be advised to follow the material included in [W3Schools](https://www.w3schools.com/python/python_functions.asp) and [DataCamp](https://www.datacamp.com/tutorial/functions-python-tutorial); proceed to create an account in [Repl.it](https://replit.com/~); write the function, which should either prompt the user for a name or take it as parameter, then print out a personalised "Hello" response, like "Hello Jose". Otherwise, the function will print out "Hello World"

Once you have written and downloaded the python function file, you can send it in a reply to **<simon@migracode.org>.**

### **Resolution**

We will let you know as soon as possible if you have passed this step and if you will be accepted to our course.&#x20;

Thank you in advance and let us know if you have any questions.


---

# 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://syllabus.migracode.org/courses/untitled-1/application-process/home-assignment.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.
