---
name: drop
kind: function
lang: py
domain: core
version: "1.0.0"
purity: pure
signature: "def drop(xs: list, n: int) -> list"
description: "Descarta los primeros n elementos de una lista."
tags: [list, functional, drop, slice, python]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: ""
imports: []
params:
  - name: xs
    desc: "lista de la que descartar elementos"
  - name: n
    desc: "numero de elementos a descartar desde el inicio"
output: "lista sin los primeros n elementos"
tested: false
tests: []
test_file_path: ""
file_path: "python/functions/core/core.py"
---

## Ejemplo

```python
result = drop([1, 2, 3, 4, 5], 2)
# [3, 4, 5]
```

## Notas

Funcion pura. Si n > len(xs), retorna lista vacia. No muta la original.
