0

what is a python code for hightest to lowest daily sale

Hi I am writing a python code that prints the range of the highest to lowest daily sales. Anyone have any pointers for this?

14th Jul 2018, 10:36 AM
HBlack
2 odpowiedzi
+ 4
You have to put all the sales in a list. Apply sort() to it. Then iterate through the list printing each element.
14th Jul 2018, 10:50 AM
Mitali
Mitali - avatar
0
Thank you, What would the input and outputs be and what type?
14th Jul 2018, 7:41 PM
HBlack