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

--

--

--

Physics faculty, science blogger of all things geek. Technical Consultant for CBS MacGyver and MythBusters. WIRED blogger.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

What I Learn after Building Pub/Sub Subscriber With Reactive Programming

Rust Asynchronous Programming

RxSwift Made Easy : Part 1 — Primer

A way of connecting microservices in NodeJS

Second go!

How to squash last X commits after they have been pushed

Shopify : FREE Product for purchases over $40

Case Study: Inventory @ Airbnb

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
Rhett Allain

Rhett Allain

Physics faculty, science blogger of all things geek. Technical Consultant for CBS MacGyver and MythBusters. WIRED blogger.

More from Medium

Functions As Mathematical Models | Functions And Analysis

Make Your Own Python Libraries in 5 Minutes

Calculating Areas of Quadrilaterals in Python

How to process and plot Audio data with Python