diff --git a/bmi_fn.txt b/bmi_fn.txt new file mode 100644 index 0000000..17e4cc0 --- /dev/null +++ b/bmi_fn.txt @@ -0,0 +1,13 @@ + + +#looking over somebody's shoulder copying their python code +#apparently Stata doesn't work + +def bmi(height, weight): + bmi = weight/(height**2) + bmi_return = round(bmi, 1) + return bmi_return + + + +