Created
August 7, 2019 16:53
-
-
Save parzibyte/f40b51b7015dbbacdcacc41ab716326d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Probar con arreglo de cadenas | |
""" | |
arreglo = ["Albino", "Bambú", "Becerro", "Contaminación", "Cortina", "Trampolín"] | |
print("La otra lista es:", arreglo) | |
busqueda = "Cortina" | |
indice = busqueda_binaria_recursiva(arreglo, busqueda, 0, len(arreglo) - 1) | |
print("El elemento {} está en el índice {}".format(busqueda, indice)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment