Untitled
weight=int(input("Add meg a testtömeged (kg): ")) height=int(input("Add meg a testmagasságod (cm): ")) bmi=round(weight/((height/100)**2),2) print("A te BMI értéked: ", bmi) if bmi<18.5: print("Alultáplált") elif bmi>=18.5 and bmi<25: print("Normális") else: print("Túlsúlyos")
Leave a Comment