QuestionQ131

VerifiedFunctions and Exceptions

Which function reverses the objects in a list in place?

Explanation

list.reverse() reverses the order of a list’s elements in place, modifying the original list rather than creating a new one.

Community Discussion

No comments yet. Be the first to start the discussion!