Answers for "but python2 work print without brackets?"

2

python program to print list without brackets

lst = [1,2,3,4,5]
print(*lst,end="")

#output
1 2 3 4 5
Posted by: Guest on April-05-2021

Code answers related to "but python2 work print without brackets?"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language