Print the element values assigned to the list value

Print the list value in python programming language.This program will print the list value which is initialized in program for data structure.This program is very similar to the previous program in data strucuture in python programming language

num = [1,2,3,4,5,6]
print(num[0])
print(num[3])
print(num[5])

Output:

1                                                                                                                             

4                                                                                                                             

6