Last active
January 21, 2019 05:05
-
-
Save skrolikowski/7697d1ec2cf2398ef44fc9df3c7d9130 to your computer and use it in GitHub Desktop.
Divisor Function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def divisors(num): | |
return [x in range(1, num // 2) if num % x == 0]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment