top of page

Gender Note

We welcome everyone and treat them without judgment.

For the sake of readability, we use the masculine form for personal names and personal nouns on this website and in all editorial contributions.

In principle, in the interest of equal treatment, the corresponding terms apply to all genders. The abbreviated form is for editorial purposes only and does not imply any judgment.

bottom of page
def berechne_bmi(gewicht_kg, groesse_m): # BMI = Gewicht / (Größe * Größe) bmi = gewicht_kg / (groesse_m * groesse_m) return bmi def interpretiere_bmi(bmi): if bmi < 18.5: return "Untergewicht" elif 18.5 <= bmi < 25: return "Normalgewicht" elif 25 <= bmi < 30: return "Übergewicht" else: return "Fettleibigkeit (Adipositas)" # Beispielhafte Benutzereingabe gewicht = float(input("Bitte geben Sie Ihr Gewicht in kg ein: ")) groesse = float(input("Bitte geben Sie Ihre Größe in Metern ein: ")) # BMI berechnen und interpretieren ergebnis_bmi = berechne_bmi(gewicht, groesse) kategorie = interpretiere_bmi(ergebnis_bmi) print(f"Ihr BMI beträgt: {ergebnis_bmi:.2f}") print(f"Ihre Gewichtskategorie ist: {kategorie}")