As the title says: Why do I have to use square_list.sort() here and why does sort(square_list) not work ? I have not imported a module to use the sort functionality. At this time I dont understand what the real inherent difference is and when to go for sort(object) and when to go for object.sort() ?
start_list = [5, 3, 1, 2, 4] square_list =  # Your code here! for num in start_list: square_list.append(num ** 2) square_list.sort() print square_list