Run
# List of numbers mylist = [21, 5, 8, 52, 21, 87, 52] # Reverse list using slicing mylist = mylist[::-1] # Print the list print(mylist)
Output