Solución
solution.tsTypeScript
def clean_spaces(text: str) -> str:
# Escribe tu solución aquí
if not text:
return ""
splt = text.split()
return " ".join(splt)
char = " Hola Mun do"
res = clean_spaces(char)
0respuestas