Length Python Function Questions In Js