please see code below i keep getting the return of a float rather then a rounted int, my return is always (26.234567901234566)
height = 1.8
weight = 85
heightint = float(height)
weightint = int(weight)
BMI = input(weightint / (heightint ** 2))
BMIint = round(BMI)
print(BMIint)
Thanks,
Phil
Some help on my sytax and what I have done wrong.
New contributor
PhillyCoding is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.