# Entscheidung treffen

```python
if os <= 31:
    tag = os
    monat = "März"
else:
    tag = os-31
    monat = "April"
```

# Wiederholung

## Die `while`-Schleife

```python
while not eingabe_ok:
    # ...
```

# Ausnahmesituation mit `try`-`except

```python
try:
    jahr_input = input("Geben Sie die Jahresnummer ein")
    x = int(jahr_input)
    eingabe_ok = True
except:
    print("Eingabe ist keine Zahl")
```