mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
better quotation for advanced-iterators
This commit is contained in:
@@ -12,12 +12,14 @@ body{counter-reset:h1 6}
|
||||
<p>You are here: <a href=index.html>Home</a> <span>‣</span> <a href=table-of-contents.html#advanced-iterators>Dive Into Python 3</a> <span>‣</span>
|
||||
<h1>Advanced Iterators</h1>
|
||||
<blockquote class=q>
|
||||
<p><span>❝</span> Life is playfulness. We need to play so that we can rediscover the magical around us. <span>❞</span><br>— Flora Colao
|
||||
<p><span>❝</span> Great fleas have little fleas upon their backs to bite ’em,<br>And little fleas have lesser fleas, and so ad infinitum. <span>❞</span><br>— Augustus De Morgan
|
||||
</blockquote>
|
||||
<p id=toc>
|
||||
<h2 id=divingin>Diving In</h2>
|
||||
<p class=f>FIXME
|
||||
|
||||
<p><a href="http://code.activestate.com/recipes/576615/">original recipe by Raymond Hettinger</a>, ported to Python 3 and used as the basis for this chapter with his permission.
|
||||
|
||||
<p class=d>[<a href=examples/alphametics.py>download <code>alphametics.py</code></a>]
|
||||
<pre><code>import re
|
||||
import itertools
|
||||
|
||||
Reference in New Issue
Block a user