<?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%2FTuple-1</id>
	<title>Curso de Programación en Python/Tuple-1 - 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%2FTuple-1"/>
	<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Curso_de_Programaci%C3%B3n_en_Python/Tuple-1&amp;action=history"/>
	<updated>2026-04-30T23:08:52Z</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/Tuple-1&amp;diff=6534&amp;oldid=prev</id>
		<title>Rrc en 12:35 15 oct 2014</title>
		<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Curso_de_Programaci%C3%B3n_en_Python/Tuple-1&amp;diff=6534&amp;oldid=prev"/>
		<updated>2014-10-15T12:35:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Tuple-1.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;
# Un tuple vacio&lt;br /&gt;
a = ()&lt;br /&gt;
# Un tuple de solo uno elemento&lt;br /&gt;
b = ( &amp;quot;one&amp;quot;, )&lt;br /&gt;
# Un tuple de dos elementos&lt;br /&gt;
c = ( &amp;quot;one&amp;quot;, &amp;quot;two&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;\na es&amp;quot;, a )&lt;br /&gt;
print( &amp;quot;Largo de a es&amp;quot;, len( a ) )&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;\nb es&amp;quot;, b )&lt;br /&gt;
print( &amp;quot;Largo de b es&amp;quot;, len ( b ) )&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;\nc es&amp;quot;, c )&lt;br /&gt;
print( &amp;quot;Largo de c es&amp;quot;, len( c ) )&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Resultado ===&lt;br /&gt;
&lt;br /&gt;
[rrc@pridd PythonClase]$ ./Tuple-1.py &lt;br /&gt;
 &lt;br /&gt;
 a es ()&lt;br /&gt;
 Largo de a es 0&lt;br /&gt;
 &lt;br /&gt;
 b es (&amp;#039;one&amp;#039;,)&lt;br /&gt;
 Largo de b es 1&lt;br /&gt;
 &lt;br /&gt;
 c es (&amp;#039;one&amp;#039;, &amp;#039;two&amp;#039;)&lt;br /&gt;
 Largo de c es 2&lt;br /&gt;
&lt;br /&gt;
=== Explicación ===&lt;br /&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>