How to print list without for loop python

69

How to print list without for loop python -

list = ['a','b','c']
print(', '.join(list) # You can also delete the comma and just put space or you can use \n to make new line

Comments

Submit
0 Comments