How ardillachiki/ejercicios_tema_3 works
Based on your project’s file structure and README, the repository is essentially a collection of four self-contained exercises, each implementing a specific algorithm or functionality:
Polynomial operations related to magical “encantamientos” (Ejercicio 4)
The main entry point is the top-level file, main.py, which likely serves as an orchestrator to trigger one or more of these exercise modules. Each exercise is stored in its own directory with its core file (base_ej_N.py) and one or more auxiliaries to implement key functionalities.
Main Components
• Main Controller: Represent main.py as the entry point that triggers execution.
• Exercício Modules: Create a separate block/component for each exercise:
• Exercise 1: Tower of Hanoi
• Base module: base_ej_1.py
• Auxiliary module: calculo_torre_hanoi.py
• Exercise 2: Matrix Determinants
• Base module: base_ej_2.py
• Auxiliary module: Metodos.py
• Exercise 3: Spacecraft Management
• Base module: base_ej_3.py
• Auxiliary module: requisitos_ej3_.py
• Exercise 4: Polynomial Operations (‘Encantamientos’)
• Base module: base_ej_4.py
• Auxiliary module: funciones.py
Architectural Patterns and Design Principles
• Modularity: Each exercise is encapsulated within its own directory, reinforcing separation of concerns.
• Layering: The base files act as controllers or coordinators that call helper functions from auxiliary modules—this can be noted as an internal layering within each exercise.
• Clear separation: Although all exercises share the same repository, they are completely isolated in their functionality.
Relevant Technologies and Technologies Noted
• Python is the underlying language.
Detailed Steps for the Principal Software Engineer
• Optionally, you may include a note that further elaborates any specific functions (like ejercicio1(), ejercicio2(), etc.) associated with these base files.