I have to write a program which asks for three different numbers that then shows the three numbers that i wrote and then adds the biggest and the smallest number that i wrote.
Write your first number: 5
Write your second number: 4
Write your third number: 8
Sum is: 12
So far I've written a program that asks for three different numbers, it looks like this:
x=input('Write your first number: ')
y=input('Write your second number: ')
z=input('Write your third number: ')
That's everything that i have written so far. I'm thinking that i would need to write some 'elses' and 'if's' which commands which of x,y,z is the largest and the smallest.