<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>http://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Curso_de_Programaci%C3%B3n_en_Python%2FSet-5</id>
	<title>Curso de Programación en Python/Set-5 - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Curso_de_Programaci%C3%B3n_en_Python%2FSet-5"/>
	<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Curso_de_Programaci%C3%B3n_en_Python/Set-5&amp;action=history"/>
	<updated>2026-04-10T03:40:31Z</updated>
	<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>http://wiki.cabal.mx/index.php?title=Curso_de_Programaci%C3%B3n_en_Python/Set-5&amp;diff=6804&amp;oldid=prev</id>
		<title>Rrc: Página creada con &#039;__NOTOC__ *  Set-5.py **  Resultado  == Set-5.py ==  &lt;syntaxhighlight lang=&quot;python&quot; line=&quot;GESHI_FANCY_LINE_NUMBERS&quot;&gt;  #!/usr/bin/python3 #-*-coding...&#039;</title>
		<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Curso_de_Programaci%C3%B3n_en_Python/Set-5&amp;diff=6804&amp;oldid=prev"/>
		<updated>2014-11-25T19:21:34Z</updated>

		<summary type="html">&lt;p&gt;Página creada con &amp;#039;__NOTOC__ * &lt;a href=&quot;#Set-5&quot;&gt; Set-5.py&lt;/a&gt; ** &lt;a href=&quot;#Resultado&quot;&gt; Resultado&lt;/a&gt;  == Set-5.py ==  &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line=&amp;quot;GESHI_FANCY_LINE_NUMBERS&amp;quot;&amp;gt;  #!/usr/bin/python3 #-*-coding...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
* [[:#Set-5 | Set-5.py]]&lt;br /&gt;
** [[:#Resultado | Resultado]]&lt;br /&gt;
&lt;br /&gt;
== Set-5.py ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot; line=&amp;quot;GESHI_FANCY_LINE_NUMBERS&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#!/usr/bin/python3&lt;br /&gt;
#-*-coding: utf-8 -*-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Set1 = { 1, &amp;quot;Gato&amp;quot;, 3 }&lt;br /&gt;
Set2 = { 6, &amp;quot;Perro&amp;quot;, &amp;quot;Gato&amp;quot;, 4, 3 }&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;Set1:&amp;quot;, Set1 )&lt;br /&gt;
print( &amp;quot;Set2:&amp;quot;, Set2 )&lt;br /&gt;
&lt;br /&gt;
# Union the sets.&lt;br /&gt;
Set3 = Set1.union( Set2 )&lt;br /&gt;
print( &amp;quot;Set3:&amp;quot;, Set3 )&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Resultado ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[rrc@Llawyr PythonClase]$ ./Set-5.py&lt;br /&gt;
Set1: {1, 3, &amp;#039;Gato&amp;#039;}&lt;br /&gt;
Set2: {&amp;#039;Perro&amp;#039;, 3, 4, &amp;#039;Gato&amp;#039;, 6}&lt;br /&gt;
Set3: {1, 3, 4, 6, &amp;#039;Gato&amp;#039;, &amp;#039;Perro&amp;#039;}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Programación en Python]]&lt;br /&gt;
[[Category:PythonCabal]]&lt;br /&gt;
[[Category:CursoPython]]&lt;/div&gt;</summary>
		<author><name>Rrc</name></author>
		
	</entry>
</feed>