Skip to content

Commit d68c88c

Browse files
Add Method Was Wrong
1 parent a021a81 commit d68c88c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sets/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ myset2={"f","c", "j"}
1818

1919
| |Start | Method |Output |
2020
|----------------|-----------------|------------|---------------|
21-
|add|{} | {"hi","how","are","you"} | .add("great") |you, how, hi, great, are |
21+
|add |{"hi","how","are","you"} | .add("great") |you, how, hi, great, are |
2222
|clear | {"▢","☆"} |.clear() |{} |
23-
|copy a set | {"△","▢","☆"} |.copy() |▢▢▢ |
23+
|copy a set | {"△","▢","☆"} |.copy() | NEW COPY IS MADE |
2424
|difference | {"a","c","c","d"} |.difference(myset2) | j, f |
2525
|discard | {"△","▢","☆"} |.discard("△") | ☆,▢ |
2626
|pop i.e. removes from top | {"△","▢","☆"} |.pop() | ▢,☆ |

0 commit comments

Comments
 (0)