Created
November 21, 2018 04:35
-
-
Save JackInTaiwan/ef655b7d62890cf2a4bd7cda051d6f07 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 dog(): | |
height = 40 | |
def profile(): | |
print("I'm a dog and my height is {}.".format(height)) | |
return profile | |
if __name__ == "__main__": | |
dog_profile = dog() | |
dog_profile() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment