[Python]

6.5 (Sort three numbers) Write the following function to display three numbers in increasing order: def displaySorted Numbe r

6.5 (Sort three numbers) Write the following function to display three numbers in increasing order: def displaySorted Numbe rs (num1 , num2, num3): Write a test program that prompts the user to enter three numbers and invokes the function to display them in increasing order. Here are some sample runs: Enter three numbers: 3, 2.4, 5 r The sorted numbe rs are 2.4 3 5



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *