Python Demo
Python Code
Output
#An example of len() method for list length len_list = [1, 5, 9, 'x','y','z', 20, 25] print ("Number of items in the list = ", len(len_list))