Q. What is the output of tuple([1, 2, 3])?
Solution:
tuple([1, 2, 3]) converts the list to a tuple, resulting in (1, 2, 3).
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
tuple([1, 2, 3]) converts the list to a tuple, resulting in (1, 2, 3).
Strengthen Your Practice with our comprehensive question bank.