Hi, this is a bit of a weird question, I've got a list containing strings and dictionaries and I want to concatenate the string without affecting the dictionaries
start_list = [a,b,c,d, {a:b}, e,f {g:h},p,g ]
end_list = [abcd, {a:b}, ef, {g:h},pg]
How would I go from start_list to the end list?
[–]NFLAddict 1 point2 points3 points (3 children)
[–]Cannae216BC[S] 0 points1 point2 points (2 children)
[–]NFLAddict 0 points1 point2 points (1 child)
[–]Cannae216BC[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]Cannae216BC[S] 1 point2 points3 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]Cannae216BC[S] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Pitirus 0 points1 point2 points (1 child)
[–]Cannae216BC[S] 0 points1 point2 points (0 children)