QuestionQ131Verified/Functions and ExceptionsCopy linkReport a problemAsk AstroTutorSave questionWhich function reverses the objects in a list in place?Alist.sort([func])Blist.pop(obj=list[-1])Clist.remove(obj)Dlist.reverse()Show AnswerAnswerExplanationlist.reverse() reverses the order of a list’s elements in place, modifying the original list rather than creating a new one.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion