code to print the max number in a list python code example
Example 1: max int in a python list
>>> L=[2,-7,3,3,6,2,5]
>>> max(L)
6
Example 2: max of a list in python
#!/usr/bin/python
list1, list2 = [123, 'xyz', 'zara', 'abc'], [456, 700, 200]
print "Max value element : ", max(list1)
print "Max value element : ", max(list2)