<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>when reading some of the sample codes in the official tutorial, I
had to do research to understand the background of naming and
string constants, like those strings from the script of Monty
Python. Still this one in $5.5 is the most challenging so far:</p>
<p>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</p>
<pre><span class="gp">>>> </span><span class="n">tel</span> <span class="o">=</span> <span class="p">{</span><span class="s1">'jack'</span><span class="p">:</span> <span class="mi">4098</span><span class="p">,</span> <span class="s1">'sape'</span><span class="p">:</span> <span class="mi">4139</span><span class="p">}</span>
<span class="gp">>>> </span><span class="n">tel</span><span class="p">[</span><span class="s1">'guido'</span><span class="p">]</span> <span class="o">=</span> <span class="mi">4127</span>
<span class="gp">>>> </span><span class="n">tel</span>
<span class="go">{'sape': 4139, 'guido': 4127, 'jack': 4098}</span>
<span class="gp">>>> </span><span class="n">tel</span><span class="p">[</span><span class="s1">'jack'</span><span class="p">]</span>
<span class="go">4098
...
</span></pre>
<p>I did quite some digging to confirm my guess of the hidden
meaning, during which I realized it was initially written 27 years
ago, without much change so far. Now I'm curious if its meaning is
obvious to most nowadays beginners even as English speakers.</p>
<p>In general, I wonder if there was discussion of revising some
sample programs for better readability or adding more
comments/introductory texts?</p>
<p>Thanks.</p>
</body>
</html>