GH avatar Bite 191. Starwars character with highest BMI

In this Bite you will parse a multiline string of SWAPI Starwars characters.

Calculate the BMI of each character returning a (person, BMI) tuple of the character that has the highest BMI.

The BMI calculation is the same as Bite 56: float(mass) / ((int(height) / 100) ** 2).

The provided data contains 3 columns separated by comma: person, height, and mass.

Have fun and keep calm and code in Python!

Login and get coding
go back Intermediate level
Bitecoin 3X

Will you be Pythonista #47 to crack this Bite?
Resolution time: ~30 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 1.75 on a 1-10 difficulty scale.
» You can do it! 😌

We use Python 3.7