Login and get codingIn 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 the 134th person to crack this Bite?
Resolution time: ~30 min. (avg. submissions of 5-240 min.)
Our community rates this Bite 1.78 on a 1-10 difficulty scale.
» You can do it! 😌