The good format looks like this
Rice
Chapathi
Dal
VagSambar
NonVegSambar
The raw format looks like this:
Tag
FoodItem:["Rice", "Chapathi", "Dal", "VegSambar", "NonVegSambar"]
How to make this display as
Tag
FoodItem: Rice
Chapathi
Dal
VagSambar
NonVegSambar
Or close to this instead of the raw format.
I have to do makelist/join and all those in my real program. The first method is just to give an example. Thanks in advance
Sorry I was not clear. In my real program I have to do the join, make a list I cannot avoid it. So my first way of doing was right, I start off with a empty list. The make a list or the join causes the problem. Thanks again