Pregunta de entrevista de Swiss Re

basic python - reverse string data preprocessing - how to extract and label the data