Answer to Question #305814 in Python for prik

Question #305814
use sort() function to sort [34,1,2,6,3,7], [[1,3], [3,2], [1,2], [3,1]] and ['a', 'x', 'e', 'A', 'X', 'E'] and tell us what you observe in 2nd, 3rd list"





1
Expert's answer
2022-03-04T08:34:16-0500
print(sorted([34,1,2,6,3,7]))
print(sorted([[1,3], [3,2], [1,2], [3,1]]))
print(sorted(['a', 'x', 'e', 'A', 'X', 'E']))

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