-
-
Save parzibyte/89adc8c889ef82efee7043bf44c84587 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
animales_terrestres = set(["Tortuga", "Lobo", "Perro", "Cangrejo"]) | |
print("Terrestres: ", animales_terrestres) | |
animales_acuaticos = set(["Tiburón", "Pulpo", "Tortuga", "Cangrejo"]) | |
print("Acuáticos: ", animales_acuaticos) | |
todos_los_animales = animales_terrestres.union(animales_acuaticos) | |
print("Unión: ", todos_los_animales) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment