Skip to content

Commit

Permalink
missing height_in ex4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
klmedeiros committed Oct 30, 2018
1 parent e3cb267 commit e731504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapter4.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ skills: 2
The MLB also offers to let you analyze their weight data. Again, both are available as regular Python lists: `height_in` and `weight`. `height_in` is in inches and `weight_lb` is in pounds.

It's now possible to calculate the BMI of each baseball player. Python code to convert `height` to a `numpy` array with the correct units is already available in the workspace. Follow the instructions step by step and finish the game!
It's now possible to calculate the BMI of each baseball player. Python code to convert `height_in` to a `numpy` array with the correct units is already available in the workspace. Follow the instructions step by step and finish the game!

`@instructions`
- Create a `numpy` array from the `weight_lb` list with the correct units. Multiply by `0.453592` to go from pounds to kilograms. Store the resulting `numpy` array as `np_weight_kg`.
Expand Down

0 comments on commit e731504

Please sign in to comment.