i was just writing this very simple script to calculate bmi in kg and cm. But it always prints 0. Any ideas why?
code:
weight = int(raw_input("Weight in kg: "))
length = int(raw_input("Length in cm: "))
def bmi():
bmi = (weight) / (length * length)
return bmi
print bmi()