write me a function in python that ...
I've always forgot the syntax for alot of functions/libraries etc.
Also, I haven't really written lot of python until recently.