On Tue, 15 Nov 2022 at 05:57, Stefan Ram <r...@zedat.fu-berlin.de> wrote:
>
> Michael Speer <knome...@gmail.com> writes:
> >Python doesn't care what an expression returns.
>
>   In my English, functions return values,
>   expression are being evaluated to a value.
>   The evaluation of a function yields or
>   produces a value. Expressions do not return,
>   because they are not functions.
>

Well, you can dispute the terminology all you like, but there's no
real difference between function calls and other types of expression.
They're all just expressions and they can be combined arbitrarily.

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

Reply via email to