1. Home
  2. Data Science
  3. Python
  4. Which method is used to reverse the elements of a list in…

Added 4 May 2024

Which method is used to reverse the elements of a list in place?

  1. reverse() Correct answer
  2. invert()
  3. flip()
  4. revolve()

Correct answer

A. reverse()

14 views

MCQSEXAM

Explanation

The reverse() method reverses the elements of a list in place.

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs