title | author | date |
---|---|---|
any(), all(), max(), min(), sum() |
Damian |
05/04/2018 |
data = [340, 564, 250, 120, 230]
# Return true if any element is True
any(data)
True
# Return true if all elements are True
all(data)
True
# Return max value
max(data)
564
# Return the min value
min(data)
120
# Return the total value
sum(data)
1504