Methods String Python Functions With Parameters In Java