Most probably a stupid question, but I still want to ask

Terry Reedy tjreedy at udel.edu
Sun Apr 10 21:45:21 EDT 2016


On 4/10/2016 8:17 PM, Fillmore wrote:

> apparently my 'discontinuity' is mappable to the fact that there's no such
> thing as one-element tuples in Python, and attempts to create one will
> result in a string (i.e. an object of a different kind!)...

Please work through the tutorial before posting wrong information
about the basics of Python.

 >>> t = 1,
 >>> t
(1,)

-- 
Terry Jan Reedy




More information about the Python-list mailing list