I find myself initializing my functions by declaring a results
variable where I accumulate the final return value. Then I close by return results
.
But reading the code, results
is so vague it doesn't tell me what kind of data structure I'm returning and makes it difficult to debug. #code #python
Reply or react to this post via Webmentions or reply or like to the Mastodon, Twitter or Instagram post.