# Get the three integer values from the user. n1 = int(input('First number? ')) n2 = int(input('Second number? ')) n3 = int(input('Third number? ')) # First assume the minimum is the n1 value. minimum = n1 which = 'first' # Now find the real minimum value. Could it be n2? if n2 < minimum: minimum = n2 which = 'second' # Or maybe it's n3. if n3 < minimum: minimum = n3 which = third # Print the minimum value. print('The minimum value is', minimum) print('It was the', which, 'value')