0
Lemme know mistake
a=print(float(input("enter your weight"))) b=print(float(input("enter your height in meter"))) print(float("your BMI is:"),a/b^2)
2 Réponses
0
You're trying to convert "your BMI is:" to float.
print("your BMI is:", a/b**2)
should suffice.
0
Yah ...so even if it cannot be in whole number