how to get the length of an arraylist in python code example Example 1: arraylist length java aList.size() Example 2: arraylist length list.size()