Lists And Missing Commas

Tim Daneliuk info at tundraware.com
Mon Dec 23 23:21:40 EST 2019


On 12/23/19 8: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......
> 
> ChrisA
> 

You are excused and required to do 30 days penance writing .NET.


More information about the Python-list mailing list