BMI calculation
Hi,i'm trying to solve an exercise in python course and i'm having a problem with the code, i must write a code to calculate and print 4 Test Cases of BMI with different value in eight and weight, this is my code: #your code goes here weight = input(floaat()) height = input(floaat()) BMI = float(weight / height **2) if BMI < 18.5: print ("Underweight") else: if BMI >= 18.5 and BMI < 25: print ("Normal") else: if BMI >= 25 and BMI < 30: print ("Overweight") else: if BMI > 30: print ("Obesity") The problem is, the system and the line 5 give me a "TypeError: unsupported operand type(s) for ** or pow(): 'str' and 'int' " i tried to change settings (float,int etc) bu the result is the same, why? and how can i solve this? Thank you!