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!

Will you be Pythonista #22 to crack this Bite?
It takes an average of ~26 minutes to solve this Bite (submissions 5-240 min).
Pythonistas rate this Bite 1.5 on a 1-10 difficulty scale.
» You can do it! 😌

Buy Now Login and get coding
We use Python 3.7