Length Python Function Example Code In Java