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).

You’ll also discover more fresh thinking personalized to your interests and can follow your favorite authors, publications, and topics.
Or, continue in mobile web
Already have an account? Sign in

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store