Skip to content

Bootstrap Python exercises repository with multi-level structure#1

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/add-python-exercises-repo
Draft

Bootstrap Python exercises repository with multi-level structure#1
Copilot wants to merge 3 commits intomainfrom
copilot/add-python-exercises-repo

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 4, 2026

Initializes a structured Python exercises repo covering programming concepts, logic, algorithms, and data structures across four complexity tiers.

Structure

  • basico/ — Variables & types, conditionals, loops, functions, lists
  • intermedio/ — Dicts & sets, higher-order functions (map/filter/reduce/lambda), comprehensions, file I/O & exceptions
  • avanzado/ — OOP with ABC & properties, decorators (timer, logger, retry, factory), generators & yield from
  • algoritmos/ — Sorting (Bubble/Selection/Insertion/Merge/Quick), search (linear, binary iterative/recursive, matrix), recursion (Fibonacci + memoization, Hanói, fast exponentiation), and linear data structures (Stack, Queue, Linked List)

Exercise format

Each .py file follows a consistent pattern: task description as a comment, placeholder ... / pass stubs for the student to fill in, expected output in comments, and a commented-out reference solution at the bottom.

# ------ Tarea 4: Merge Sort ------
def merge_sort(lista):
    if len(lista) <= 1:
        return lista
    # Tu código aquí:
    pass

print("Merge Sort:", merge_sort(datos))
# Esperado: [11, 12, 22, 25, 64]

Also adds .gitignore (excludes __pycache__, build artifacts, IDE files) and an updated README.md with directory map and usage instructions.

Original prompt

Quiero iniciar un repositorio donde tenga ejercicios de python para el entrenamiento de conceptos, lógica de programación, algoritmos y ejemplos de diferentes niveles de complejidad

Copilot AI and others added 2 commits April 4, 2026 00:35
…o, avanzado, algoritmos)

Agent-Logs-Url: https://github.com/BrandonCabra/ejercicios_python/sessions/7ceb4281-0576-4193-94c3-45c8ede397b0

Co-authored-by: BrandonCabra <173741999+BrandonCabra@users.noreply.github.com>
Copilot AI changed the title [WIP] Add repository for Python exercises and examples Bootstrap Python exercises repository with multi-level structure Apr 4, 2026
Copilot AI requested a review from BrandonCabra April 4, 2026 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants