# example of len() function list_number = [6, 3, 8, 0] length = len(list_number) print("The lentgh of the list is: " + str(length))
studentGrades = [9.1, 8.8, 10.0, 7.7, 6.8, 8.0, 10.0, 8.1, 10.0, 9.9] print(len(studentGrades))
list1 = [1,2,3] print(len(list))
thistuple = ("apple", "banana", "cherry") print(len(thistuple))
>>> list = [a, b, c] >>> len(list) #output 3
my_list = [1,2,3,4,5,6,7,8,9,10] length_of_list = len(my_list)