Python Basics
Python Advanced
Python Useful References
Python Useful Resources
Selected Reading
© 2011 TutorialsPoint.COM
|
Python Tuple min() Function
Description:
This function returns the elements from the tuple with minimum value.
Syntax:
Parameters:
Here is the detail of parameters:
Return Value:
It returns the elements from the tuple with minimum value.
Example:
#!/usr/bin/python
tuple1, tuple2 = (123, 'xyz', 'zara', 'abc'), (456, 700, 200)
print "min value element : ", min(tuple1);
print "min value element : ", min(tuple2);
|
This will produce following result:
min value element : 123
min value element : 200
|
|
|
|