We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3d83ba commit 3516037Copy full SHA for 3516037
1 file changed
python3/koans/about_sets.py
@@ -33,8 +33,8 @@ def test_convert_the_set_into_a_list_to_sort_it(self):
33
# ------------------------------------------------------------------
34
35
def test_set_have_arithmetic_operators(self):
36
- scotsmen = set(['MacLeod', 'Wallace', 'Willie'])
37
- warriors = set(['MacLeod', 'Wallace', 'Leonidas'])
+ scotsmen = {'MacLeod', 'Wallace', 'Willie'}
+ warriors = {'MacLeod', 'Wallace', 'Leonidas'}
38
39
self.assertEqual(__, scotsmen - warriors)
40
self.assertEqual(__, scotsmen | warriors)
0 commit comments