print list without brackets python code example
Example 1: print list without brackets int python
data = [7, 7, 7, 7]
print(*data, sep='')
Example 2: python program to print list without brackets
lst = [1,2,3,4,5]
print(*lst,end="")
1 2 3 4 5
Example 3: python list to string without brackets
print(', '.join(names))
Example 4: how to print a list without the brackets in python
names = ["jeff", "Mike", "Mario"]
for x in range(len(names)):
print(names[x])
for x in range(len(names)):
print(names[x], end=" ")