1Creating an empty list:
2
3>>> l = [None] * 10
4>>> l
5[None, None, None, None, None, None, None, None, None, None]
1# example of len() function
2
3list_number = [6, 3, 8, 0]
4
5length = len(list_number)
6print("The lentgh of the list is: " + str(length))
1studentGrades = [9.1, 8.8, 10.0, 7.7, 6.8, 8.0, 10.0, 8.1, 10.0, 9.9]
2print(len(studentGrades))