Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created April 22, 2018 23:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/052faca5da332eeb078abaebc6731f34 to your computer and use it in GitHub Desktop.
Save Fhernd/052faca5da332eeb078abaebc6731f34 to your computer and use it in GitHub Desktop.
Combinación y concatenación de cadenas de caracteres. OrtizOL.
lista = ['Python', 'es', 'un', 'lenguaje', 'de', 'programación', 'interpretado']
print(' '.join(lista))
print('{} {} {} {} {} {} {}'.format(lista[0], lista[1], lista[2], lista[3],
lista[4], lista[5], lista[6]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment