Log in or register to post comments Both method will return [1,2,3,4,5] #Method 1 mylist = [5,3,4,2,1] sorted(list4) #Method 2 mylist = [5,3,4,2,1] mylist.sort() Tags Python Data Structure Interview Questions Python Interview Questions