HOWTO Write a Function

Loading

Follow to receive video recommendations   a   A


A function is a small chunk of code that does useful work. Your job when writing a function is to do it in a way that it easy to read. Based on over 15 years of code reviews here are some tips and guidelines I give again and again.

Editors Note:

If you like this website, please upvote my Awesome Python pull request.