Exercize to understand from three numbers which is more high
^Bart
gabriele1NOSPAM at hotmail.com
Fri Jan 25 06:56:57 EST 2019
number1 = int( input("Insert the first number: "))
number2 = int( input("Insert the second number: "))
number3 = int( input("Insert the third number: "))
if number1 > number2 and number1 > number3:
print("Max number is: ",number1)
if number2 > number1 and number2 > number3:
print("Max number is: ",number2)
else:
print("Max number is: ",number3)
Try to insert numbers 3, 2 and 1 and the result will be number 3 and 1,
can you help me to fix it?! :\
^Bart
More information about the Python-list
mailing list