Lists And Missing Commas

DL Neil PythonList at DancesWithMice.info
Mon Dec 23 22:34:47 EST 2019


On 24/12/19 3:35 PM, Chris Angelico wrote:
> On Tue, Dec 24, 2019 at 12:56 PM DL Neil via Python-list
> <python-list at python.org> wrote:
>> However, your point involves the fact that whereas:
>>
>> 1 + 2           # 3 is *clearly* addition, and
>> "a" + "b"       # "ab" is *clearly* concatenation
>>
>> "a" "b"         # also evaluates to "ab"
>>
>> and is thus, concatenation without any explicit infix operator! Just one
>> cotton-picking minute - what's going on here?
> 
> 1_2    # Clearly concatenation. Right?
> 0_0    # Clearly an emoticon
> 
> Just another cotton-picking minute......


Shows what you know: 1_2 is marching orders

- and here are yours...
-- 
Regards =dn


More information about the Python-list mailing list