Q. What is the output of tuple(‘abc’)?
Solution:
tuple(‘abc’) converts each character to a tuple element, resulting in (‘a’, ‘b’, ‘c’).
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
tuple(‘abc’) converts each character to a tuple element, resulting in (‘a’, ‘b’, ‘c’).
Strengthen Your Practice with our comprehensive question bank.