Python Print List Without Brackets


Is there any possible way in python to print list without brackets?



Yes, it is possible to print a list or an array without the brackets. Below is an example that represents the same.


print (', '.join(name))

It will take all the elements that are available in the list and join them, providing the same as the output.


If you want to unleash your potential in this competitive field, please visit the Python course page for more information, where you can find the Python tutorials and Python frequently asked interview questions and answers as well.


This topic has been locked/unapproved. No replies allowed

Login to participate in this discussion.

Leave a reply

Before proceeding, please check your email for a verification link. If you did not receive the email, click here to request another.
Protected by Astra Security