Question: I've got a lot of this code down except for accepting user input and the fact that they're decimals for some reason, so may have

 I've got a lot of this code down except for accepting

I've got a lot of this code down except for accepting user input and the fact that they're decimals for some reason, so may have to redo it all anyway, any help on accomplishing this please? Python3

(Min-heap) The heap presented in the text is also known as a max-heap, in which each node is greater than or equal to any of its children. A min-heap is a heap in which each node is less than or equal to any of its children. Revise the heap sort program to use a min-heap. Write a test program that prompts the user to enter a list of numbers in one line and uses the min-heap to sort the numbers. Sample Run Enter numbers: 4.5 5.4 9.3 3.4 1.5 7.7 5.6 1.5 3.4 4.5 5.4 5.6 7.7 9.3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!