print answer in python without commas and brackets but spaces code example
Example: 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='')