# Es gelten folgende Variablen-Vereinbarungen: #A: Die jahreszahl ist durch 4 teilbar #B: Die jahreszahl ist durch 100 teilbar #C: Die jahreszahl ist durch 400 teilbar jahreszahl = 2000 A = (jahreszahl%4 == 0) B = (jahreszahl%100 == 0) C = (jahreszahl%400 == 0) istSchaltjahr = C or (A and not B) print("Das Jahr", jahreszahl, "ist ein Schltjahr: ", istSchaltjahr)