''' BMI can be calulated as: BMI = weight / height^2 Exercise A: Calculate the BMI of various people using a `for` loop and return BMIs as a list. ''' weights = [60, 76, 55, 90] heights = [1.70, 1.80, 1.65, 1.90] bmi = [] # Your code here print(bmi) ''' Exercise B: Imagine later we want to calculate the BMI of another list of people. we could copy the code, but if we want to do this more often it is better to write a function and avoid code duplication. Rewrite the code into a function called `calculate_bmi`, then call the function and save the output in variable `bmi`. Finally, print the results. ''' weights = [60, 76, 55, 90] heights = [1.70, 1.80, 1.65, 1.90] def calculate_bmi( # Your code here): # Your code here return # Your code here bmi = calculate_bmi( # Your code here) print(bmi)