У вашего броузера проблема в совместимости с HTML5
Complete python training. Python List Length. This tutorial explains how to use the len() function for a python list. The len() function is a simple function that will return the length of a list in python.
My Python Course - https://www.youtube.com/watch?v=Aah3TmR-dHc&list=PLtb2Lf-cJ_AWhtJE6Rb5oWf02RC2qVU-J