Untitled
unknown
python
3 years ago
296 B
6
Indexable
height = input("enter your height in m: ") weight = input("enter your weight in kg: ") #Tuđi kod 👇 weight= float(weight) height= float(height) BMI= weight/(height**2) BMI= int(BMI) print (BMI) #Moj kod 👇 weight = int(weight) height = int(height**2) bmi = weight / height print(int(bmi))
Editor is loading...