how to convert a list into string without brackets python code example
Example 1: print list without brackets int python
# you're using Python 3, or appropriate Python 2.x version with from __future__ import print_function then:
data = [7, 7, 7, 7]
print(*data, sep='')
Example 2: how do i remove the brackets around a list in python
l = ['a', 2, 'c']
print str(l)[1:-1]
'a', 2, 'c'