From 5cf1ed945a182e65343ef2e85c2eefd9fea9a0af Mon Sep 17 00:00:00 2001 From: "e.a.remfry@qmul.ac.uk" <96423108+LizRem@users.noreply.github.com> Date: Wed, 10 Jul 2024 11:04:14 +0100 Subject: [PATCH] Create bmi_function.py --- bmi_function.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 bmi_function.py diff --git a/bmi_function.py b/bmi_function.py new file mode 100644 index 0000000..68f4b24 --- /dev/null +++ b/bmi_function.py @@ -0,0 +1,5 @@ + +def bmi_function(weight, height): + bmi = height / (weight^2) + return bmi +