Q. Is the following Python code valid?>>> a,b=1,2,3 (Solved)
1. yes, this is an example of tuple unpacking. a=1 and b=2
2. yes, this is an example of tuple unpacking. a=(1,2) and b=3
3. no, too many values to unpack
4. yes, this is an example of tuple unpacking. a=1 and b=(2,3)
- c. no, too many values to unpack