Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created December 27, 2019 13:52
Show Gist options
  • Save Fhernd/a7c7aded1ecf4d8bae546a19aca5b53b to your computer and use it in GitHub Desktop.
Save Fhernd/a7c7aded1ecf4d8bae546a19aca5b53b to your computer and use it in GitHub Desktop.
# Ejercicio 447: Computar el conjunto unión entre dos objetos conjunto.
# 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