Skip to content

Commit 19ffb79

Browse files
committed
Change one more example to differentiate.
1 parent 1fbb9b5 commit 19ffb79

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

concepts/sets/about.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ While sets can be created in many different ways, the most straightforward const
3434
A `set` can be directly entered as a _set literal_ with curly `{}` brackets and commas between elements.
3535
Duplicates are silently omitted:
3636

37+
3738
```python
38-
>>> one_element = {'😀'}
39-
{'😀'}
39+
>>> one_element = {''}
40+
{''}
4041

41-
>>> multiple_elements = {'😀', '😃', '😄', '😁'}
42-
{'😀', '😃', '😄', '😁'}
42+
>>> multiple_elements = {'', '🔻', '🔹', '🔆'}
43+
{'', '🔻', '🔹', '🔆'}
4344

4445
>>> multiple_duplicates = {'Hello!', 'Hello!', 'Hello!',
4546
'¡Hola!','Привіт!', 'こんにちは!',

0 commit comments

Comments
 (0)