Hello friends, Can you please give me the answers to these problems:
1.) x,y=y
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: cannot unpack non-iterable int object
Why this problem is occurring. What does it mean?
2.) x=y,y,y
>>> print(x,y)
(3, 3, 3) 3
>>> type(x)
<class 'tuple'>
What data type is tuple and how I am getting this output?