Maximum of some numbers (max)
The largest of some numbers.
How to write it
max(a, b, ...)
The largest of the arguments.
- a
- A number. Takes a number.
- b
- A number. Takes a number.
max(list)
The largest element of a list.
- list
- A list of numbers. Takes a list.
Examples
max(3, 7, 5)In the solver,
Open in the solvermax(3, 7, 5)gives7.max([3, 7, 5])In the solver,
Open in the solvermax([3, 7, 5])gives7.