In this program, we will take a user input as a list & print the list in reverse order using index slicing with the help of the below-given steps.
List in reverse order:
Steps to solve the program
- Take a list as input.
- Create a variable and assign its value equal to the given list in the reverse order using indexing.
- Print the variable to see the output.
Output :
Related Articles
Python program to reverse a list with reversed and reverse methods.
Python program to copy or clone one list to another list.
Python program to return True if two lists have any common member.
Python program to print a specific list after removing the 1st, 3rd, and 6th elements from the list.
Python program to remove negative values from the list.
Python program to get a list of all elements which are divided by 3 and 7.