Home / Python Tips Generated By ChatGPT / The min() and max() Functions in Python Find the smallest or largest item in a collection. Source Code numbers = [50, 20, 40, 30, 10] print(min(numbers)) print(max(numbers))