Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created January 15, 2018 15:45
Show Gist options
  • Save Fhernd/f27b703569e9249cc7bb109502071b22 to your computer and use it in GitHub Desktop.
Save Fhernd/f27b703569e9249cc7bb109502071b22 to your computer and use it in GitHub Desktop.
Recorrido por cada uno de los caracteres de una cadena de caracteres (string) en Python.
libro = 'Tres Maestros'
for i in range(len(libro)):
print(libro[i], ' ', end = '')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment