Computer Science, asked by sanjay5622, 7 months ago

What will ne the ouput of list=[4, 3,5,2,1,7] sorted(list1) printed(list1)

Answers

Answered by Xypher007
1

After sorting and printing, the output shall appear in the order in ascending :

1,2,3,4,5,7

In descending order, it shall appear as:

7,5,4,3,2,1

Hope this helps you

Similar questions