how to print certain elements of the list code example
Example 1: print specific list item python
lis_t = [1, 4, 5]
print(lis_t[2]) #will print 5
Example 2: print all elements in list python
# using for loop
scores = [11, 12, 13, 14, 15, 16]
for score in scores:
print(score)