Question: Write python code for the following 1. Read and extract data from the file studentdata.csv (file below) Calculate the BMI using formula BMI=weight/(height)2. Create a
Write python code for the following
1. Read and extract data from the file studentdata.csv (file below) Calculate the BMI using formula BMI=weight/(height)2. Create a plot of age versus BMI with appropriate labels and title.
| age | weight | height |
| 22 | 44 | 5.1 |
| 24 | 50 | 5.2 |
| 26 | 55 | 5.3 |
| 28 | 58 | 5.4 |
| 30 | 60 | 5.5 |
| 32 | 65 | 5.6 |
| 34 | 68 | 5.7 |
| 36 | 70 | 5.8 |
| 38 | 73 | 5.9 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
