I have the following list:
msg = ['CAD400','Uma Filial...','Solucao:','O campo...','','LIB310','A Filial...','Solucao:','Foi identificado...','Foi corrigido...','','PAG302','Mudanca...','Solucao:','O erro...','O programa...','Programa alterado...']
I want a dictionary with list data as follows:
msg_nova = {'CAD_001': ['Uma Filial...','Solucao:','O campo...'],'REC_002': ['A Filial...','Solucao:','Foi identificado...','Foi corrigido...'],'PAG_003': ['Mudanca...','Solucao:','O erro...','O programa...','Programa alterado...']}
I have already tried several ways and I have not been able to make the descriptions of each program (CAD, REC, PAG) linked to each one. I even managed to create the keys but the descriptions are each separated into a list.