可以使用 Python 的内置函数 max() 来寻找最大值。 示例: numbers = [1, 2, 3, 4, 5] maximum = max(numbers) print(maximum)# 输出 5