Created
December 27, 2019 13:52
-
-
Save Fhernd/a7c7aded1ecf4d8bae546a19aca5b53b to your computer and use it in GitHub Desktop.
# Ejercicio 447: Computar el conjunto unión entre dos objetos conjunto.
This file contains hidden or 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
# Ejercicio 447: Computar el conjunto unión entre dos objetos conjunto. | |
colores_1 = set(['Negro', 'Blanco', 'Rojo']) | |
colores_2 = set(['Azul', 'Verde', 'Gris', 'Negro']) | |
print(colores_1) | |
print(colores_2) | |
print() | |
colores = colores_1 | colores_2 | |
print(colores) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment