Created
April 22, 2018 23:45
-
-
Save Fhernd/052faca5da332eeb078abaebc6731f34 to your computer and use it in GitHub Desktop.
Combinación y concatenación de cadenas de caracteres. OrtizOL.
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
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