Why does Python code use len() function instead of a length method? Why does Python code use len() function instead of a length method? python python