# Introducción

<div><figure><img src="/files/M2kwcm53P97xup0ribsk" alt="" width="196"><figcaption></figcaption></figure> <figure><img src="/files/ubDLCu6oJhaezmM7xVUq" alt="" width="375"><figcaption></figcaption></figure></div>

En la **Práctica 2** trabajaremos de forma práctica los **conceptos y técnicas de diseño recursivo** que hemos aprendido en el Tema 3 de teoría de la asignatura.

Concretamente, desarrollaremos un paquete en **Python 3** siguiendo el paradigma de la Programación Orientada a Objetos que será capaz de **generar y dibujar una figura fractal recursiva denominada RSquare** (*Recursive Square*). La visualización de estas figuras se realizará utilizando la librería **Matplotlib**.

{% hint style="info" %}
Si no usas el entorno DSIC-Linux y estás trabajando localmente, asegúrate de tener instaladas las librerías necesarias:

```bash
pip install matplotlib
```

{% endhint %}


---

# 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://dsic.gitbook.io/prg-gia/h/p2/readme.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.
