A

Admin • 832.27K Points
Coach

Q. Which method returns a new list with elements in reverse order?

  • (A) reverse()
  • (B) reversed()
  • (C) invert()
  • (D) flip()
  • Correct Answer - Option(B)
  • Views: 22
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

`reversed()` returns an iterator that can be converted into a reversed list.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.