Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created Aug 30, 2021
Embed
What would you like to do?
original_list=[1,2,3]
#Copying elements in reverse order
copied_list=original_list[::-1]
print(copied_list)
#Output:[3,2,1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment