Python3 Func Number Min
# Python3.x Python3 min() Function
[ Python3 Numbers](#)
* * *
## Description
The min() method returns the minimum value of the given arguments. The arguments can be sequences.
* * *
## Syntax
Here is the syntax for the min() method:
min( x, y, z, .... )
* * *
## Parameters
* x -- A numeric expression.
* y -- A numeric expression.
* z -- A numeric expression.
* * *
## Return Value
Returns the minimum value of the given arguments.
* * *
## Example
The following example demonstrates the use of the min() method:
#!/usr/bin/python3print ("min(80, 100, 1000) : ", min(80, 100, 1000))print ("min(-20, 100, 400) : ", min(-20, 100, 400))print ("min(-80, -20, -10) : ", min(-80, -20, -10))print ("min(0, 100, -400) : ", min(0, 100, -400))
When the above example is executed, it produces the following result:
min(80, 100, 1000) : 80 min(-20, 100, 400) : -20 min(-80, -20, -10) : -80 min(0, 100, -400) : -400
[ Python3 Numbers](#)
YouTip