Tuples in Python ? Is the following Python code valid? >>> a,b=1,2,3 A) Yes, this is an example of tuple unpacking. a=1 and b=2 B) Yes, this is an example of tuple unpacking. a=(1,2) and b=3 C) No, too many values to unpack D) Yes, this is an example of tuple unpacking. a=1 and b=(2,3) Answer & Solution Correct Answer: Option C Let's discuss the solution. Join the discussion Save this Question
Join the Discussion
Login to post a comment or share your explanation.
Login