Last active
December 26, 2019 17:18
-
-
Save kunigami/f82b20f5cac5a7b86f8140e0ffa4312c 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 expects_string(a: str): | |
return a | |
def expects_int(a: int) -> int: | |
return a + 1 | |
def main(): | |
untyped = expects_string('a') | |
expects_int(untyped) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment