Pregunta de entrevista de DXC Technology

Puthon witing program from linked list and string