Last active
December 4, 2019 17:44
-
-
Save gaganmanku96/32b8c982bfa4a813ee6072f6f07764e1 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
from typing import Union | |
def add(first_value: int, second_value: int) -> Union(int, bool): | |
if first_value == 0: | |
return False | |
return first_value + second_value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment