LearnPy Hub
← Variables problems
Medium

Body Mass Index

Read weight in kg and height in metres, and print the BMI (weight / height²) rounded to 1 decimal.

Input

Two numbers.

Output

BMI with 1 decimal.

Sample 1

Input
70
1.75
Output
22.9

Sample 2

Input
50
1.6
Output
19.5
solution.py
Output appears here
Body Mass Index · Python practice problem · LearnPy Hub