Lists And Missing Commas
Chris Angelico
rosuav at gmail.com
Mon Dec 23 21:35:04 EST 2019
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
More information about the Python-list
mailing list