Python Programming - Lists - Discussion

Discussion Forum : Lists - General Questions (Q.No. 75)
75.
What does the list.reverse_copy() method do in Python?
Creates a reversed copy of the list.
Reverses the order of elements in the original list.
Raises an error as there is no such method.
Copies the list in reverse without modifying the original list.
Answer: Option
Explanation:
While there is no direct method named reverse_copy(), creating a reversed copy can be achieved using slicing or [::-1].
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.