Skip to content
Snippets Groups Projects
Commit 38571375 authored by Rafael Andrei Vinasco Soler's avatar Rafael Andrei Vinasco Soler
Browse files

ejercicio 1

parent 405d62cc
No related branches found
No related tags found
No related merge requests found
%% Cell type:code id: tags:
``` python
lista = input('Ingrese los nombres separados por -:')
```
%% Output
Ingrese los nombres separados por -:aa-ss-dd-ff-ere-ww-ss-aa-ss
%% Cell type:code id: tags:
``` python
lista1 = lista.split('-')
lista_ordenada = sorted(lista1)
print_punto1 = "-".join(lista_ordenada)
print(print_punto1)
```
%% Output
aa-aa-dd-ere-ff-ss-ss-ss-ww
%% Cell type:code id: tags:
``` python
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment