We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16aa2a2 commit 8667167Copy full SHA for 8667167
Python/check-if-a-string-can-break-another-string.py
@@ -53,5 +53,5 @@ def checkIfCanBreak(self, s1, s2):
53
:rtype: bool
54
"""
55
s1, s2 = sorted(s1), sorted(s2)
56
- return all(a >= b for a, b in izip(s1, s2)) or \
57
- all(a <= b for a, b in izip(s1, s2))
+ return all(a >= b for a, b in itertools.izip(s1, s2)) or \
+ all(a <= b for a, b in itertools.izip(s1, s2))
0 commit comments