def min_und_max(werte): return min(werte), max(werte) zahlen = [3, 10, -5, 8, 8] mn, mx = min_und_max(zahlen) print(f"Minimum: {mn}\nMaximum: {mx}")