Answer to Question #303113 in Python for swathi

Question #303113

Stale ingrediants program in python

input format is

11 12 -13 -15 15 19 18

output is

-13 -15 11 12 15 18 19


1
Expert's answer
2022-02-28T01:04:53-0500
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?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS