Post
Python
Is there any possible way in python to print list without brackets?
Posted on 23rd April 2024
Yes you can print list without brackets use * to do so, here is the example
li = ["x", "y", "z"]
print(*li, sep = ", ")
Output:
x, y, z
STILL GOT QUERIES?