Skip to content

Commit edf27c8

Browse files
Update BMI_Calculator.md
1 parent 54d5a69 commit edf27c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/mini-projects/BMI_Calculator.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# BMI Calculator
22

33
## Overview
4-
This Python script calculates and interprets the Body Mass Index (BMI) based on user input for weight and height. The BMI is calculated using the formula:
5-
\[ \text{BMI} = \frac{\text{weight (kg)}}{(\text{height (m)})^2} \]
4+
This Python script calculates and interprets the Body Mass Index (BMI) based on user input for weight and height. The BMI is calculated using the formula:
5+
$BMI = \frac{weight \: (kg)}{(height \: (m))^2}$
66

77

88
## Functions
@@ -45,7 +45,7 @@ The main part of the script prompts the user for their weight and height, calcul
4545
7. Handle any `ValueError` exceptions if the user enters invalid input.
4646

4747
## Usage
48-
To run the script, execute the following command in your terminal or command prompt:
48+
To run the script,save the file as ```bmi_calculator.py``` and execute the following command in your terminal or command prompt:
4949

5050
```sh
5151
python bmi_calculator.py

0 commit comments

Comments
 (0)