We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a32bbf commit 3c7c22eCopy full SHA for 3c7c22e
1 file changed
ultimatepython/data_structures/set.py
@@ -24,7 +24,8 @@ def main():
24
# You can compute exclusive multiples
25
multiples_two_exclusive = multiples_two.difference(multiples_four)
26
multiples_four_exclusive = multiples_four.difference(multiples_two)
27
- assert len(multiples_two_exclusive) and len(multiples_four_exclusive)
+ assert len(multiples_two_exclusive) > 0
28
+ assert len(multiples_four_exclusive) > 0
29
30
# Numbers in this bracket are greater than 2 * 9 and less than 4 * 10
31
for number in multiples_four_exclusive:
0 commit comments