Created
April 22, 2020 22:46
-
-
Save parzibyte/5e24c22ff66cf8b09526bf02811f91be 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
lista = ["Claire", "Leon", "Tyrant"] | |
for indice, nombre in enumerate(lista): | |
print("En " + str(indice) + " tenemos a " + nombre) | |
# O con f strings | |
print(f"En {indice} tenemos a {nombre}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment