1# you're using Python 3, or appropriate Python 2.x version with from __future__ import print_function then:
2
3data = [7, 7, 7, 7]
4print(*data, sep='')
1#How to remove brackets and commas from a list (Python)
2
3#Converts list to a string, strips brackets from new string, then replaces all apostrophes with empty spaces
4print(str(listData).strip('[]').replace('\'', ''))