Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.