Write a program in python to calculate BMI (Body Mass index)
i) When value are given
II) When values are entered by users
plz let me know answer in full form along with the answer I will mark you brainlest
Answers
Answered by
0
Answer:
(I) MI (Body Mass Index) calculator in Python
1 We will first get input values from user using input() and convert it to float using float().
2 We will use the BMI formula, which is weight/(height)
3 Then print the result using conditional statements.
4 Here we have used elif because once we satisfy a condition we don't want to check the rest of the statements.
Explanation:
Similar questions