n1 = int(input( "Enter a number: " ) ) n2 = int(input( "Enter a number: " ) ) n3 = int(input( "Enter a number: " ) ) n4 = int(input( "Enter a number: " ) ) n5 = int(input( "Enter a number: " ) ) print() if n1 > n2 : if n1 > n3 : if n1 > n4 : if n1 > n5 : print( "The biggest number was:", n1 ) if n2 > n1 : if n2 > n3 : if n2 > n4 : if n2 > n5 : print( "The biggest number was:", n2 ) if n3 > n1 : if n3 > n2 : if n3 > n4 : if n3 > n5 : print( "The biggest number was:", n3 ) if n4 > n1 : if n4 > n2 : if n4 > n3 : if n4 > n5 : print( "The biggest number was:", n4 ) if n5 > n1 : if n5 > n2 : if n5 > n4 : if n5 > n3 : print( "The biggest number was:", n5 ) if n1 < n2 : if n1 < n3 : if n1 < n4 : if n1 < n5 : print( "The smallest number was:", n1 ) if n2 < n1 : if n2 < n3 : if n2 < n4 : if n2 < n5 : print( "The smallest number was:", n2 ) if n3 < n2 : if n3 < n1 : if n3 < n4 : if n3 < n5 : print( "The smallest number was:", n3 ) if n4 < n2 : if n4 < n3 : if n4 < n1 : if n4 < n5 : print( "The smallest number was:", n4 ) if n5 < n2 : if n5 < n3 : if n5 < n4 : if n5 < n1 : print( "The smallest number was:", n5 ) if n1 == n2 : if n1 == n3 : if n1 == n4 : if n1 == n5 : print( "All numbers were the same" )