tighten up wording "list" --> "set"

This commit is contained in:
Mark Pilgrim
2009-09-25 23:51:33 -04:00
parent 95d6235fbc
commit dcb3fff126
+1 -1
View File
@@ -146,7 +146,7 @@ if __name__ == '__main__':
<li>So, given a list of strings, this line of code returns all the unique characters across all the strings, with no duplicates.
</ol>
<p>The alphametics solver uses this technique to get a list of all the unique characters in the puzzle.
<p>The alphametics solver uses this technique to build a set of all the unique characters in the puzzle.
<pre class='nd pp'><code>unique_characters = set(''.join(words))</code></pre>