Here is my code
def max_array_diff(line):
return max(line)
line = raw_input().split()
print max_array_diff(line)
print line
Here is the output I am getting
9
['1', '9', '2', '-7', '10', '4', '3']
I need my output to be 10. raw_input() is coming in as a string, I have converted it to a list and am trying to get the max value from it but it keeps returning 9 instead of 10. What am I doing wrong?