Oct-13-2020, 07:25 PM
find_min is a function. If you print
Before that you call the function (with the parentheses and the arguments) and it runs. But since you don't assign the return value to anything, the information is lost. Put that info into a variable and then print the variable.
Or put the full call (with arguments and parentheses) into the print if you don't need the information after printing.
find_min
(note no parentheses), it will give you a short blurb saying it's a function. That's happening in your print statements.Before that you call the function (with the parentheses and the arguments) and it runs. But since you don't assign the return value to anything, the information is lost. Put that info into a variable and then print the variable.
Or put the full call (with arguments and parentheses) into the print if you don't need the information after printing.