Solución
solution.tsTypeScript
def starts_with(text: str, prefix: str) -> bool:
# Escribe tu solución aquí
if text[0:len(prefix)] == prefix:
return True
return False1respuestas
def starts_with(text: str, prefix: str) -> bool:
# Escribe tu solución aquí
if text[0:len(prefix)] == prefix:
return True
return FalseRecuerda ser amable. Estás comentando la solución de otra persona. Comparte tu perspectiva de forma constructiva y respetuosa.