In Python 2, this function definition is valid:
def sv( (L, R) ):
return L ^ R
However, in Python 3, a syntax error is returned on the second left parenthesis. I can't figure out why?
How do I instruct Python to accept a tuple as input?
Tuple parameter unpacking was removed in python 3.
https://www.python.org/dev/peps/pep-3113/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With