I tried to find the max value in list .
Why does max(['66','9','44']) return 9? the max value need to be 66
Currently the numbers in your list are strings, and because of it max is returning lexicographical highest value. You can type-cast the numbers to int in order to get highest numeric value:
>>> max(map(int, ['66','9','44']))
66
Or, as mentioned in Jab's answer, you can use key param in the max function to change the value on which you need to perform sorting without changing the actual values in the list. For example:
>>> max(['66','9','44'], key=int)
'66' # Value '66' is still preserved as string
max(map(int, ['66', '9', '44']))