<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Curso_de_Programaci%C3%B3n_en_Python%2FTuple-5</id>
	<title>Curso de Programación en Python/Tuple-5 - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.cabal.mx/index.php?action=history&amp;feed=atom&amp;title=Curso_de_Programaci%C3%B3n_en_Python%2FTuple-5"/>
	<link rel="alternate" type="text/html" href="https://wiki.cabal.mx/index.php?title=Curso_de_Programaci%C3%B3n_en_Python/Tuple-5&amp;action=history"/>
	<updated>2026-04-04T11:06:10Z</updated>
	<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>https://wiki.cabal.mx/index.php?title=Curso_de_Programaci%C3%B3n_en_Python/Tuple-5&amp;diff=119434&amp;oldid=prev</id>
		<title>Rrc en 18:06 17 dic 2015</title>
		<link rel="alternate" type="text/html" href="https://wiki.cabal.mx/index.php?title=Curso_de_Programaci%C3%B3n_en_Python/Tuple-5&amp;diff=119434&amp;oldid=prev"/>
		<updated>2015-12-17T18:06:22Z</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-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;
Amigos = ( &amp;quot;Rebecca&amp;quot;, &amp;quot;Julio&amp;quot;, &amp;quot;LuLu&amp;quot;, &amp;quot;Annabelle&amp;quot; )&lt;br /&gt;
print( &amp;quot;\nEl tuple Amigos es:\n{}&amp;quot; .format( Amigos ) )&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;\nUsando max() a calcular el ultimo nombre por orden alfabético:\n{}&amp;quot;&lt;br /&gt;
          .format( max( Amigos ) ) )&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;\nUsando min() a calcular el primer nombre por orden alfabético:\n{}&amp;quot;&lt;br /&gt;
          .format( min( Amigos ) ) )&lt;br /&gt;
&lt;br /&gt;
Ganancias = ( 1000, 2000, 500, 4000 )&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;\nEl tuple Ganancias es:\n{}&amp;quot; .format( Ganancias ) )&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;\nUsando max() a calcular la mayor cantidad:\n{}&amp;quot;&lt;br /&gt;
          .format( max( Ganancias ) ) )&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;\nUsando min() a calcular la menor cantidad:\n{}&amp;quot;&lt;br /&gt;
          .format( min( Ganancias ) ) )&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@Llawyr PythonClase]$ ./Tuple-5.py&lt;br /&gt;
 &lt;br /&gt;
 El tuple Amigos es:&lt;br /&gt;
 (&amp;#039;Rebecca&amp;#039;, &amp;#039;Julio&amp;#039;, &amp;#039;Lulu&amp;#039;, &amp;#039;Annabelle&amp;#039;)&lt;br /&gt;
 &lt;br /&gt;
 Usando max() a calcular el ultimo nombre por orden alfabético:&lt;br /&gt;
 Rebecca&lt;br /&gt;
 &lt;br /&gt;
 Usando min() a calcular el primer nombre por orden alfabético:&lt;br /&gt;
 Annabelle&lt;br /&gt;
 &lt;br /&gt;
 El tuple Ganancias es:&lt;br /&gt;
 (1000, 2000, 500, 4000)&lt;br /&gt;
 &lt;br /&gt;
 Usando max() a calcular la mayor cantidad:&lt;br /&gt;
 4000&lt;br /&gt;
 &lt;br /&gt;
 Usando min() a calcular la menor cantidad:&lt;br /&gt;
 500&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>