A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2018-July/154312.html below:

[Python-Dev] Examples for PEP 572

[Python-Dev] Examples for PEP 572 [Python-Dev] Examples for PEP 572Sven R. Kunze srkunze at mail.de
Wed Jul 4 14:32:32 EDT 2018
Sorry for adding yet another mail. :-(

On 04.07.2018 10:54, Serhiy Storchaka wrote:
> Sorry, this PEP was rewritten so many times that I missed your Appendix.
>
>> while total != (total := total + term):
>>     term *= mx2 / (i*(i+1))
>>     i += 2
>> return total
>

This very example here caught my eye.

Isn't total not always equal to total? What would "regular" Python have 
looked like?

Regards,
Sven
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4