A Physicist’s Guide to Functions in Python

Maybe you are a physicist and maybe you want to use python. Well, then this is for you. OK, let’s just jump right in.

Introduction to Functions

What is a function in python? Honestly, it’s a lot like a mathematical function. So, let’s just start with a function (totally just making up something here).