14
Question Question 1(n)
Find the output generated by following code fragments :
t1 = (3,4)
t2 = ('3' , '4')
print(t1 + t2 )Output
(3, 4, '3', '4')
Explanation
Concatenate operator + combines the two tuples to form new tuple.
Find the output generated by following code fragments :
t1 = (3,4)
t2 = ('3' , '4')
print(t1 + t2 )(3, 4, '3', '4')
Concatenate operator + combines the two tuples to form new tuple.