Nguyễn Pháp
New member
What will be the output of the following Python code?
A. (4,6)
B. (1,2,3,4)
C. Error as tuples are immutable
D. None
Code:
>>> a=(1,2)
>>> b=(3,4)
>>> c=a+b
>>> c
B. (1,2,3,4)
C. Error as tuples are immutable
D. None