Stale ingrediants program in python
input format is
11 12 -13 -15 15 19 18
output is
-13 -15 11 12 15 18 19
numbers = [11, 12, -13, -15, 15, 19, 18] for i in range(len(numbers)): print(min(numbers), end=' ') numbers.remove(min(numbers))
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment