remove square brackets string python code example Example: how do i remove the brackets around a list in python l = ['a', 2, 'c'] print str(l)[1:-1] 'a', 2, 'c'