I'm wondering why the following python array is valid (notice the missing comma between 'foo' and 'bar':
a = ['hello', 'world', 'foo' 'bar']
Printing 'a' outputs the following:
['hello', 'world', 'foobar']
Why is it even allowed, to omit a comma, if there is at least one comma? I thought there'd be an error like
You started the array with comma delimited strings, why on earth are you now, all of a sudden, omitting commas? Are you sure that's not mistake?