Created
December 10, 2018 06:48
-
-
Save parzibyte/9e05ff342690123c110a5bc91a029e8f to your computer and use it in GitHub Desktop.
Algunos usos de split-1 created by parzibyte - https://repl.it/@parzibyte/Algunos-usos-de-split-1
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
correo = "contacto@parzibyte.me" | |
separador = "@" | |
separado = correo.split(separador) | |
print("El usuario es {} y el dominio {}".format(separado[0], separado[1])) | |
# El usuario es contacto y el dominio parzibyte.me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment