O'Reilly logo
  • Chris Kang thinks this is interesting:

Like lists and dictionaries, tuples support mixed types and nesting, but they don’t grow and shrink because they are immutable (the parentheses enclosing a tuple’s items can often be omitted, as done here; in contexts where commas don’t otherwise matter, the commas are what actually builds a tuple):


Cover of Learning Python, 5th Edition


Comma between 'span' and 3.0 and 3.0 and [11,...] makes this a tuple.