Skip to content

Commit 122203e

Browse files
committed
Update funcWithSetsAndDict.rst
one last fix
1 parent fbad823 commit 122203e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_sources/functions/funcWithSetsAndDict.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,17 +215,17 @@ You can use the following methods with sets.
215215

216216
Run this code to see what it prints.
217217
~~~~
218-
# define two sets
218+
# define the sets
219219
s1 = {1, 2, 3}
220220
s2 = {3, 4, 5}
221+
s3 = {1, 3}
221222

222223
print(s1.difference(s2))
223224
print(s1 - s2)
224225
print(s2 - s1)
225226

226227
print(s1.issubset(s2))
227228
print(s1 <= s2)
228-
s3 = {1, 3}
229229
print(s3.issubset(s1))
230230

231231

0 commit comments

Comments
 (0)