Share your repls and programming experiences

← Back to all posts
BMI challenge
SolMegerssa (0)

🚨 Don't change the code below 👇

height = input("enter your height in m: ")
weight = input("enter your weight in kg: ")

🚨 Don't change the code above 👆

#Write your code below this line 👇
new_height = float(height)
new_weight = float(weight)
BMI = new_weight/new_height**2
new_BMI = int(BMI)

print(new_BMI)