Multiplication [was Re: Late-binding of function defaults]

Marko Rauhamaa marko at pacujo.net
Wed Nov 25 16:04:55 EST 2015


Steven D'Aprano <steve at pearwood.info>:

> But by this time, we had already learned in secondary school that you can
> use any of the following to write multiplication:
>
> x × y

Not where I lived. (Those x's would have been a nightmare for the
teacher who had to mark people's test answers.)

> x ⋅ y

Yes. After all, it would never get mixed up with the decimal comma.

> x y

Not to multiply numbers with each other.

> just as you can write division as:
>
> x / y

Not where I lived.

> x ÷ y

Not that one, either.

               x
We only had:  ---
               y


Marko



More information about the Python-list mailing list