Print the list values in reverse in python

Print list in reverse in python programming language in data structures for beginners who is getting ready for interview. This program will print the values from the reverse by using negative value in python data structures.

list = ["welcome", "to", "inlarn", "programming"]
print(list[-2])
print(list[-3])
print(list[-4])

Output:

inlarn                                                                                                                        

to                                                                                                                            

welcome