Nov-30-2023, 02:51 PM
(This post was last modified: Nov-30-2023, 02:53 PM by Gribouillis.)
*x
is not a valid Python expression, it cannot be evaluated. What would its value be? On the other hand func(*x)
is a valid expression. There is no unary operator *
or **
.
« We can solve any problem by introducing an extra level of indirection »