Answers for "remove list brackets from values in dictionary python"

2

how do i remove the brackets around a list in python

l = ['a', 2, 'c']
print str(l)[1:-1]
'a', 2, 'c'
Posted by: Guest on March-14-2020

Code answers related to "remove list brackets from values in dictionary python"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language