any(), all(), max(), min(), sum()

Want to learn more? I recommend these Python books: Python for Data Analysis, Python Data Science Handbook, and Introduction to Machine Learning with Python.

data = [34, 54, 50, 20, 20]
# 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)
54
# Return the min value
min(data)
20
# Return the total value
sum(data)
178