# Lösung: def max(a, b, c): if a > b: if a > c: print(a) else: print(c) else: if b > c: print(b) else: print(c) # oder z. B.: def max(a, b, c): if a > b: if a > c: print(a) else: print(c) elif b > c: print(b) else: print(c) # Zum Testen: max(1, 2, 3) max(3, 2, 1) max(1, 3, 2) max(3, 1, 2) max(2, 1, 3) max(2, 3, 1)