Numeric Functions
Numeric FunctionsExamples
>>> print(min(1, 2, 3, 4)) 1 >>> print(max(1, 2, 3, 4)) 4 >>> print(sum([1, 2, 3, 4])) 10 >>> print(max([1, 2, 3, 4])) 4 >>> print(abs(-3)) 3
- 29 views
>>> print(min(1, 2, 3, 4)) 1 >>> print(max(1, 2, 3, 4)) 4 >>> print(sum([1, 2, 3, 4])) 10 >>> print(max([1, 2, 3, 4])) 4 >>> print(abs(-3)) 3