Nov-23-2020, 05:11 AM
(Nov-22-2020, 10:49 PM)chiron Wrote: easy_unpack((1, 2, 3, 4, 5, 6, 7, 9)) == (1, 3, -2)You post this for second time (as a comment, preceeded by#). What exactly do you think it does?
==
is equality operator. On right-hand side is tuple with 3 elements and on left-hand side easy_unpack
function called. So basically this is comparison of the result of the function call (object returned by the function) and some tuple.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs