题解 | #统计牛客网数据#
统计牛客网数据
https://www.nowcoder.com/practice/5abf64ac972f4a8083940df7a33fe18d
# 知识点:python中的高阶函数:reduce, list推导式, python中的公共方法:max, min from functools import reduce a = [ int(i) for i in input().split(' ') ] print(max(a)) print(min(a)) print(reduce(lambda x, y: x + y, a))