Solución
solution.tsTypeScript
def starts_with(text: str, prefix: str) -> bool:
# Escribe tu solución aquí
texto_separado = text.split(sep=' ')
if texto_separado[0] == prefix or texto_separado[0] == "" or prefix in texto_separado[0]:
return True
else:
return False0respuestas