mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
+immutable
This commit is contained in:
@@ -563,7 +563,7 @@ AttributeError: 'tuple' object has no attribute 'remove'</samp>
|
||||
|
||||
<h2 id=sets>Sets</h2>
|
||||
|
||||
<p>A <dfn>set</dfn> is an unordered “bag” of unique values. A single set can contain values of any datatype. Once you have two sets, you can do standard set operations like union, intersection, and set difference.
|
||||
<p>A <dfn>set</dfn> is an unordered “bag” of unique values. A single set can contain values of any immutable datatype. Once you have two sets, you can do standard set operations like union, intersection, and set difference.
|
||||
|
||||
<h3 id=creating-a-set>Creating A Set</h3>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user