Answers for "python print array as string but no brackets"

8

how to print list as matrix in python without brackets

# 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='')
Posted by: Guest on March-11-2020

Code answers related to "python print array as string but no brackets"

Python Answers by Framework

Browse Popular Code Answers by Language