Answers for "inbuilt functionality in python that can reverse a list"

1

reverse a list in python

a = ['a', 'b', '4', '5', 'd'] #reverse the List
print(list(reversed(a)))
Posted by: Guest on December-21-2020
0

reverse a list in python

list.reverse()
Posted by: Guest on July-24-2020

Code answers related to "inbuilt functionality in python that can reverse a list"

Python Answers by Framework

Browse Popular Code Answers by Language