0
Do commas count as items in lists?
3 odpowiedzi
+ 2
No
+ 1
--->Generally it doesn't count but commas between string is displayable and
---> if you wanna append commas in list then you can.
by using this command
---> List.append(",")
---> Then this appended comma is countable as list string
0
Commas do not count as items in a list.
If you need to add a comma as a string item in a list you can separate it with a comma:
listy = [“Not Comma”, “,”, “Not Comma”]