On 2020-10-31, Stefan Ram <r...@zedat.fu-berlin.de> wrote:
> Siddhharth Choudhary <siddharth654choudh...@gmail.com> writes:
>>I want to know why x+=1 does not return the value of the variable.
>
>   Which value? The old or the new one?
>
>   Expressions never return values.

Except when they're assignment expressions, when they do.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to