<reponame>marcelaldecoa/DLND-Labs
import pandas as pd
from sklearn.linear_model import LinearRegression

bmi_life_data = pd.read_csv("bmi_and_life_expectancy.csv")

bmi_life_model = LinearRegression()
bmi_life_model.fit(bmi_life_data[['BMI']], bmi_life_data[['Life expectancy']])

laos_life_exp = bmi_life_model.predict(21.07931)

print(laos_life_exp)
import pandas as pd
from sklearn.linear_model import LinearRegression

bmi_life_data = pd.read_csv("bmi_and_life_expectancy.csv")

bmi_life_model = LinearRegression()
bmi_life_model.fit(bmi_life_data[['BMI']], bmi_life_data[['Life expectancy']])

laos_life_exp = bmi_life_model.predict(21.07931)

print(laos_life_exp)