Infomax Computer Academy
Report Bug
Qus :
Output of the code:
t = (10, 20, 30) t += (40,) print(t)
Qus
निम्न code का output क्या होगा?
t = (10, 20, 30) t += (40,) print(t)
A. (10, 20, 30)
B. (10, 20, 30, 40)
C. Error
D. (40,)
Solution
B. (10, 20, 30, 40)
Explanation
<p>Tuple concatenation creates a new tuple containing all four values.</p><p><br></p><p>Tuple concatenation से सभी चार values वाला नया tuple बनता है।</p>
Report Bug
Select Reason
Wrong Question
Wrong Translation
Out of Topic
Wrong Answer
Question and Option not visible
Formatting Issues
Hindi Version Not Available
Explanation Required
Others