파이썬에서 단일 항목 라인에 많은 항목으로 목록을 변환 :나는이에서 텍스트 파일에 라인을 변환 할
animal cat, mouse, dog, horse
numbers 22,45,124,87
이에 :
animal cat
animal mouse
animal dog
animal horse
numbers 22
numbers 45
numbers 124
numbers 87
어떻게이 변환을 할 것 파이썬으로?
감사합니다.