Created
November 8, 2017 21:57
-
-
Save sepulchered/9be1315b5bd5a49d4e61fca93ea7bdd9 to your computer and use it in GitHub Desktop.
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 positive_division(num, den): | |
res = num / den | |
if res <= 0: | |
return None | |
return res |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment