array max number in python code example
Example 1: max int value in python
import sys
MAX_INT = sys.maxsize
print(MAX_INT)
''' NOTE: value of sys.maxsize is depend on the fact that how much bit a machine is. '''
Example 2: python list max value
#!/usr/bin/python
list1, list2 = [123, 'xyz', 'zara', 'abc'], [456, 700, 200]
print "Max value element : ", max(list1)
print "Max value element : ", max(list2)