You have got to a starting point - you have three numbers. Good.
Where do you do go from here?
I would start with two of the numbers, and work out which one is higher.
# SOLVED!!!
number1 = int( input("Insert the first number: "))
number2 = int( input("Insert the second number: "))
number3 = int( input("Insert the third number: "))
numbermax = number1
numbermiddle = number2
numbermin = number3
if number2 > number1 and number2 > number3:
numbermax = number2
print("Number max is: ",numbermax)
if number1 > number2 and number1 > number3:
numbermax = number1
print("Number max is: ",numbermax)
if number3 > number2 and number3 > number1:
numbermax = number3
print("Number max is: ",numbermax)
if number2 < number1 and number2 < number3:
numbermin = number2
print("Number min is: ",numbermin)
if number1 < number2 and number1 < number3:
numbermin = number1
print("Number min is: ",numbermin)
if number3 < number2 and number3 < number1:
numbermin = number3
print("Number min is: ",numbermin)
numbermiddle = (number1+number2+number3)-(numbermax+numbermin)
print("Number middle is: ",numbermiddle)
Maybe it's not the best way to do it but at this time in our course we
should try to solve problems just by using few things like if, else,
etc. I know there's also min or max but before to use them we must
understand if else! :)
Frank Millman
Thank you very much, you helped me to power on my brain! :D
^Bart
--
https://mail.python.org/mailman/listinfo/python-list