how to get all elements of a list in python code example
Example 1: python all elements in list in another list
set(['a', 'b']).issubset(['a', 'b', 'c'])
Example 2: print all elements in list python
# using for loop
scores = [11, 12, 13, 14, 15, 16]
for score in scores:
print(score)