Answers for "how to print a returned list without brackets python"

1

how to print list without brackets python

print(', '.join(names))
Posted by: Guest on November-02-2020
0

how to print a list without the brackets in python

names = ["jeff", "Mike", "Mario"]

#if you want to print in seperate lines
for x in range(len(names)):
	print(names[x])
 
#If you want to print in same line
for x in range(len(names)):
	print(names[x], end=" ")
Posted by: Guest on May-30-2021

Code answers related to "how to print a returned list without brackets python"

Python Answers by Framework

Browse Popular Code Answers by Language