- 1
why in a normal list the brackets do not appear, and an empty list if they appear? for example: list_1 = ["1,2,3"] empty_list = [] print (list_1) 123 print (empty_list) [] sorry for my English 😩
4 Réponses
+ 2
The brackets will appear for with argument list and without argument list when u print the output. Check again
+ 2
OK, thanks!
+ 1
For above example empty_list don't have any arguments, where in list_1 have arguments.. So the output will be 123
+ 1
thank for responding, I do not understand is that in one case the output has brackets([ ]), and the other not