Split String In List Python Functions