I am trying to write a program in which I ask the user to type in three numbers from the terminal and then output (to the terminal) the maximum of the three numbers. This is what I have so far:
x = raw_input("Type three numbers: ")
print "The maximum of the three numbers is: ", max(x)
When I run the program, the question pops up for me to enter three numbers like I want it to. I then enter three numbers, for example I have been using 3, 7, and 24. Once I click enter for it to pop up the max of the three, I get the message that says "
The maximum of the three numbers is" like I want it to but it keeps saying 7 is the max. Can anyone help me fix it so it will give me the correct max.