Here is my list ['k:1','d:2','k:3','z:0']
now I want to remove apostrophes from list item and store it in the string form like 'k:1 , d:2, k:3, z:0'
Here is my code
nlist = ['k:1','d:2','k:3','z:0']
newlist = []
for x in nlist:
kk = x.strip("'")
newlist.append(kk)
This code still give me the same thing