Skip to content

Commit fe1426a

Browse files
angelikatyborskaneenjaw
authored andcommitted
Update mix app names; Rename freelancer-rate -> freelancer-rates (exercism#2686)
Co-authored-by: Tim Austin <[email protected]>
1 parent 046d289 commit fe1426a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/concept/sets/.docs/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
In Python, a [set](https://docs.python.org/3/library/stdtypes.html#set) is an _unordered_ collection of distinct _hashable_ objects. Like most collections, sets can hold any (or multiple) data type(s) -- as long as those types can be [hashed](https://docs.python.org/3.7/glossary.html#term-hashable). Sets come in two flavors: _mutable_ (`set`) and _immutable_ (`frozenset`).
1+
In Python, a [set](https://docs.python.org/3/library/stdtypes.html#set) is an _unordered_ collection of distinct _hashable_ objects. Like most collections, sets can hold any (or multiple) data type(s) -- as long as those types can be [hashed](https://docs.python.org/3.7/glossary.html#term-hashable). Sets come in two flavors: _mutable_ (`set`) and _immutable_ (`frozenset`).
22

33
Sets are most commonly used to remove duplicates from sequences, test for membership (_finding supersets & subsets_), and performing "set math" (_union, intersection, difference & symmetric difference_).
44

5-
Like other collection types such as `dict`, `list`, & `tuple`, `sets` support membership testing through `in`, length calculation through `len()` & _iteration_ via `for item in set`. Unlike the `sequence types` `string`, `list` & `tuple`, `sets` are neither ordered nor indexed, and **do not support** indexing, slicing, sorting, or other sequence behavior.
5+
Like other collection types such as `dict`, `list`, & `tuple`, `sets` support membership testing through `in`, length calculation through `len()` & _iteration_ via `for item in set`. Unlike the `sequence types` `string`, `list` & `tuple`, `sets` are neither ordered nor indexed, and **do not support** indexing, slicing, sorting, or other sequence behavior.
66

77
## Set Construction
88

0 commit comments

Comments
 (0)