python how to get a leght of a list code example Example: list length in python list1 = [1,2,3] print(len(list))