Re: Include mailing list

2022-07-09 Thread dn
Dear Mxolisi,

On 09/07/2022 22.08, Mxolisi Mbandezi wrote:
> Dear Python developers
> Please,include me in your mailing list.

Please follow the instructions, at the link which appears below:-

-- 
Regards,
=dn
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Include mailing list

2022-07-09 Thread MRAB

On 09/07/2022 11:08, Mxolisi Mbandezi wrote:

Dear Python developers
Please,include me in your mailing list.
Kind regards
Mxolisi


This tells you how to subscribe to this list:

https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list


Include mailing list

2022-07-09 Thread Mxolisi Mbandezi
Dear Python developers
Please,include me in your mailing list.
Kind regards
Mxolisi

-- 
Mr. M.L. Mbandezi
Faculty of Applied and Computer Sciences
Department of Physics and Non-Destructive Testing
Vaal University Of  Technology
Vanderbijl Park x021
Gauteng Province
Cell:  +27 797060639
Tel (W): +27 016 9509824
Fax: 0866516744
Email: mxol...@vut.ac.za
---
" The hottest place in hell is reserved for those who remain
neutral in times of great moral conflict"
Martin Luther
King.Jr--
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Why isn't there a built-in product()?

2022-07-09 Thread Michael F. Stemper

On 07/07/2022 19.06, Oscar Benjamin wrote:

On Thu, 7 Jul 2022 at 22:55, Michael F. Stemper
 wrote:


sum() is wonderful.



I understand that there is no product() or prod(). Does anybody
here know why that was not included in the language? It seems
as if it would be useful, so there must have been some rationale
for that decision.


There is math.prod:

   >>> from math import prod
   >>> prod([1, 2, 3, 4])
   24

https://docs.python.org/3/library/math.html#math.prod


I did not know that. Thanks.


--
Michael F. Stemper
Outside of a dog, a book is man's best friend.
Inside of a dog, it's too dark to read.
--
https://mail.python.org/mailman/listinfo/python-list