<?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%2Fprint</id>
	<title>Curso de Programación en Python/print - 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%2Fprint"/>
	<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Curso_de_Programaci%C3%B3n_en_Python/print&amp;action=history"/>
	<updated>2026-05-14T23:08: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/print&amp;diff=6038&amp;oldid=prev</id>
		<title>Rrc: Página creada con &#039;print(&#039;this&#039;,&#039;is&#039;, &#039;a&#039;, &#039;test&#039;)  print(&#039;this&#039;,&#039;is&#039;, &#039;a&#039;, &#039;test&#039;, sep=&quot;&quot;)  print(&#039;this&#039;,&#039;is&#039;, &#039;a&#039;, &#039;test&#039;, sep=&quot;--*--&quot;)  print( &quot;Helo&quot; )  print( &quot;World&quot;)  print( &quot;Helo&quot;, end=&quot; &quot; ...&#039;</title>
		<link rel="alternate" type="text/html" href="http://wiki.cabal.mx/index.php?title=Curso_de_Programaci%C3%B3n_en_Python/print&amp;diff=6038&amp;oldid=prev"/>
		<updated>2014-09-17T01:56:44Z</updated>

		<summary type="html">&lt;p&gt;Página creada con &amp;#039;print(&amp;#039;this&amp;#039;,&amp;#039;is&amp;#039;, &amp;#039;a&amp;#039;, &amp;#039;test&amp;#039;)  print(&amp;#039;this&amp;#039;,&amp;#039;is&amp;#039;, &amp;#039;a&amp;#039;, &amp;#039;test&amp;#039;, sep=&amp;quot;&amp;quot;)  print(&amp;#039;this&amp;#039;,&amp;#039;is&amp;#039;, &amp;#039;a&amp;#039;, &amp;#039;test&amp;#039;, sep=&amp;quot;--*--&amp;quot;)  print( &amp;quot;Helo&amp;quot; )  print( &amp;quot;World&amp;quot;)  print( &amp;quot;Helo&amp;quot;, end=&amp;quot; &amp;quot; ...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;print(&amp;#039;this&amp;#039;,&amp;#039;is&amp;#039;, &amp;#039;a&amp;#039;, &amp;#039;test&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
print(&amp;#039;this&amp;#039;,&amp;#039;is&amp;#039;, &amp;#039;a&amp;#039;, &amp;#039;test&amp;#039;, sep=&amp;quot;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
print(&amp;#039;this&amp;#039;,&amp;#039;is&amp;#039;, &amp;#039;a&amp;#039;, &amp;#039;test&amp;#039;, sep=&amp;quot;--*--&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;Helo&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;World&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;Helo&amp;quot;, end=&amp;quot; &amp;quot; )&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;World&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
name = &amp;quot;RRC&amp;quot;&lt;br /&gt;
score = 98&lt;br /&gt;
&lt;br /&gt;
print(&amp;quot;Total score for %s is %s  &amp;quot; % (name, score))&lt;br /&gt;
&lt;br /&gt;
print(&amp;quot;Total score for&amp;quot;, name, &amp;quot;is&amp;quot;, score)&lt;br /&gt;
&lt;br /&gt;
print(&amp;quot;Total score for &amp;quot;, name, &amp;quot; is &amp;quot;, score, sep=&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
print( &amp;quot;Total score for &amp;quot; + name + &amp;quot; is &amp;quot; + str(score) )&lt;br /&gt;
&lt;br /&gt;
print(&amp;#039;The story of {0}, {1}, and {other}.&amp;#039; .format(&amp;#039;Bill&amp;#039;, &amp;#039;Manfred&amp;#039;,&lt;br /&gt;
                                                          other=&amp;#039;Georg&amp;#039;))&lt;br /&gt;
&lt;br /&gt;
import math &lt;br /&gt;
print(&amp;#039;The value of PI is approximately {}.&amp;#039;.format(math.pi))&lt;br /&gt;
&lt;br /&gt;
print(&amp;#039;The value of PI is approximately {0:.3f}.&amp;#039;.format(math.pi))&lt;br /&gt;
&lt;br /&gt;
table = {&amp;#039;Julio&amp;#039;: 4127, &amp;#039;Mario&amp;#039;: 4098, &amp;#039;José&amp;#039;: 7678}&lt;br /&gt;
&lt;br /&gt;
for name, phone in table.items():&lt;br /&gt;
  # Passing an integer after the &amp;#039;:&amp;#039; will cause that field to be&lt;br /&gt;
  # a minimum number of characters wide.&lt;br /&gt;
  # This is useful for making tables pretty.&lt;br /&gt;
  print(&amp;#039;{0:10} ==&amp;gt; {1:10d}&amp;#039;.format(name, phone))&lt;br /&gt;
&lt;br /&gt;
# Reference the variables to be formatted by name instead of by position.&lt;br /&gt;
# This can be done by simply passing the dict and&lt;br /&gt;
# using square brackets &amp;#039;[]&amp;#039; to access the keys&lt;br /&gt;
print(&amp;#039;Mario: {0[Mario]:d}; Julio: {0[Julio]:d}; &amp;#039;&lt;br /&gt;
                     &amp;#039;José: {0[José]:d}&amp;#039;.format(table))&lt;br /&gt;
&lt;br /&gt;
# This could also be done by passing the table as keyword arguments&lt;br /&gt;
# with the ‘**’ notation&lt;br /&gt;
print(&amp;#039;Mario: {Mario:d}; Julio: {Julio:d}; José: {José:d}&amp;#039;.format(**table))&lt;br /&gt;
&lt;br /&gt;
print(&amp;#039;The value of PI is approximately %5.3f.&amp;#039; % math.pi)&lt;/div&gt;</summary>
		<author><name>Rrc</name></author>
		
	</entry>
</feed>