We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4b78d7 commit 499ebbeCopy full SHA for 499ebbe
Python/self-dividing-numbers.py
@@ -32,4 +32,4 @@ def selfDividingNumbers(self, left, right):
32
:rtype: List[int]
33
"""
34
return [num for num in xrange(left, right+1) \
35
- if not any(itertools.imap(lambda x: int(x) == 0 or num%int(x) != 0, str(num)))]
+ if not any(itertools.imap(lambda x: int(x) == 0 or num%int(x) != 0, str(num)))]
0 commit comments