Skip to content

Instantly share code, notes, and snippets.

@parzibyte

parzibyte/uso.py Secret

Created April 1, 2021 23:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/6c31178b21b6cf50f909afcb929f71d0 to your computer and use it in GitHub Desktop.
Save parzibyte/6c31178b21b6cf50f909afcb929f71d0 to your computer and use it in GitHub Desktop.
lista = [1, 1, 1, 3, 3, 3, 4, 4, 4, 90, 2, 10, 60, 2, 60]
sin_duplicados = eliminar_duplicados(lista)
print("Original: ")
print(lista)
print("Sin repetidos")
print(sin_duplicados)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment