Java Get String Length Python Function Example Code For Rotary